feat: add env variable to customize the proxy public ports

This commit is contained in:
a.bouhuolia
2023-05-31 20:29:37 +02:00
parent 34b2c2c8b4
commit e1ea5c402c
2 changed files with 7 additions and 3 deletions

View File

@@ -15,14 +15,14 @@ services:
- ./data/logs/nginx/:/var/log/nginx
- ./docker/certbot/certs/:/var/certs
ports:
- "80:80"
- "443:443"
- "${PUBLIC_PROXY_PORT:-80}:80"
- "${PUBLIC_PROXY_SSL_PORT:-443}:443"
tty: true
depends_on:
- server
- webapp
webapp:
webapp:
container_name: bigcapital-webapp
image: ghcr.io/bigcapitalhq/webapp:latest