diff --git a/compose.yaml b/compose.yaml index f280a2b..58d0c38 100644 --- a/compose.yaml +++ b/compose.yaml @@ -40,7 +40,7 @@ services: restart: ${RESTART_POLICY} env_file: .env ports: - - 8000:80 + - ${NGINX_PORT_HTTP}:80 volumes: - ./static:/usr/share/nginx/html/static - ./media:/usr/share/nginx/html/media diff --git a/env.example b/env.example index 5287f2b..1e8caef 100644 --- a/env.example +++ b/env.example @@ -27,9 +27,8 @@ POSTGRES_PORT=5432 REDIS_URI="redis://:@redis:6379" REDIS_PORT=6379 -# Caddy -CADDY_PORT_HTTP=80 -CADDY_PORT_HTTPS=443 +# NGINX +NGINX_PORT_HTTP=80 # Email DEFAULT_FROM_EMAIL=no-reply@project.localhost