Skip to content

Commit

Permalink
fix ymls
Browse files Browse the repository at this point in the history
  • Loading branch information
mythz committed Jan 22, 2024
1 parent f1ceb12 commit deadb61
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 10 deletions.
16 changes: 10 additions & 6 deletions .deploy/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
version: "3.9"
services:
app:
image: ghcr.io/${IMAGE_REPO}:${RELEASE_VERSION}
restart: always
network_mode: bridge
ports:
- "8080"
container_name: ${APP_NAME}_app
image: ghcr.io/${IMAGE_REPO}:${RELEASE_VERSION}
restart: always
ports:
- "8080"
container_name: ${APP_NAME}_app
environment:
WS_HOST: ws://${HOST_DOMAIN}
WS_PORT: 80
Expand All @@ -18,3 +17,8 @@ services:
LANG: "en_US.UTF-8"
volumes:
- ./App_Data:/app/App_Data

networks:
default:
external: true
name: nginx
7 changes: 3 additions & 4 deletions .deploy/nginx-proxy-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ services:
container_name: nginx-proxy
restart: always
ports:
- "8080"
- "80:80"
- "443:443"
volumes:
- conf:/etc/nginx/conf.d
- vhost:/etc/nginx/vhost.d
Expand All @@ -24,9 +25,7 @@ services:
depends_on:
- "nginx-proxy"
environment:
DEFAULT_EMAIL: you@example.com
VIRTUAL_HOST: ${HOST_DOMAIN}
VIRTUAL_PORT: 8080 # New default ASP.NET port -> https://learn.microsoft.com/en-us/dotnet/core/compatibility/containers/8.0/aspnet-port
- DEFAULT_EMAIL=you@example.com
volumes:
- certs:/etc/nginx/certs:rw
- acme:/etc/acme.sh
Expand Down

0 comments on commit deadb61

Please sign in to comment.