edit docker-compose.yml

This commit is contained in:
diyaa 2026-03-16 07:53:04 +01:00
parent 743143af39
commit 349412ea03

View File

@ -10,8 +10,8 @@ services:
NEXT_PUBLIC_LINKEDIN_URL: ${NEXT_PUBLIC_LINKEDIN_URL:-}
NEXT_PUBLIC_GITHUB_URL: ${NEXT_PUBLIC_GITHUB_URL:-}
container_name: ${CONTAINER_NAME:-diyaa}
expose:
- "3000"
ports:
- "127.0.0.1:30002:3000"
environment:
NODE_ENV: ${NODE_ENV:-production}
PORT: 3000
@ -28,18 +28,4 @@ services:
timeout: 5s
retries: 5
start_period: 20s
restart: unless-stopped
nginx:
image: nginx:stable-alpine
container_name: nginx
depends_on:
- web
ports:
- "80:80"
- "443:443"
volumes:
- ./default.conf:/etc/nginx/conf.d/default.conf:ro
- ./certbot/www:/var/www/certbot:ro
- ./certbot/conf:/etc/letsencrypt:ro
restart: unless-stopped