diff --git a/.env.example b/.env.example index b3e69464ba..1031c6683b 100644 --- a/.env.example +++ b/.env.example @@ -29,6 +29,10 @@ JWT_SECRET=b0JDZW56RnV6aEthb0RGPXVEcUI BASE_URL=https://bigcapital.ly CONTACT_US_MAIL=support@bigcapital.ly +# App proxy +PUBLIC_PROXY_PORT=80 +PUBLIC_PROXY_SSL_PORT=443 + # Agendash AGENDASH_AUTH_USER=agendash AGENDASH_AUTH_PASSWORD=123123 diff --git a/docker-compose.prod.yml b/docker-compose.prod.yml index 157d4ab1b3..8e492480fb 100644 --- a/docker-compose.prod.yml +++ b/docker-compose.prod.yml @@ -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