This commit is contained in:
@@ -3,6 +3,7 @@ version: '3.8'
|
||||
services:
|
||||
# Main website - Next.js standalone
|
||||
website:
|
||||
image: registry.infra.mintel.me/mintel/mintel.me:latest
|
||||
build:
|
||||
context: .
|
||||
dockerfile: docker/Dockerfile
|
||||
@@ -15,8 +16,10 @@ services:
|
||||
- NEXT_PUBLIC_GLITCHTIP_DSN=${NEXT_PUBLIC_GLITCHTIP_DSN}
|
||||
container_name: mintel-website
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "3000:3000"
|
||||
# Port 3000 is internal to the docker network, Caddy will proxy to it.
|
||||
# We can expose it for debugging if needed, but it's safer to keep it internal.
|
||||
expose:
|
||||
- "3000"
|
||||
environment:
|
||||
- NODE_ENV=production
|
||||
- REDIS_URL=redis://redis:6379
|
||||
|
||||
Reference in New Issue
Block a user