edit docker-compose.yml
This commit is contained in:
parent
743143af39
commit
349412ea03
@ -10,8 +10,8 @@ services:
|
|||||||
NEXT_PUBLIC_LINKEDIN_URL: ${NEXT_PUBLIC_LINKEDIN_URL:-}
|
NEXT_PUBLIC_LINKEDIN_URL: ${NEXT_PUBLIC_LINKEDIN_URL:-}
|
||||||
NEXT_PUBLIC_GITHUB_URL: ${NEXT_PUBLIC_GITHUB_URL:-}
|
NEXT_PUBLIC_GITHUB_URL: ${NEXT_PUBLIC_GITHUB_URL:-}
|
||||||
container_name: ${CONTAINER_NAME:-diyaa}
|
container_name: ${CONTAINER_NAME:-diyaa}
|
||||||
expose:
|
ports:
|
||||||
- "3000"
|
- "127.0.0.1:30002:3000"
|
||||||
environment:
|
environment:
|
||||||
NODE_ENV: ${NODE_ENV:-production}
|
NODE_ENV: ${NODE_ENV:-production}
|
||||||
PORT: 3000
|
PORT: 3000
|
||||||
@ -29,17 +29,3 @@ services:
|
|||||||
retries: 5
|
retries: 5
|
||||||
start_period: 20s
|
start_period: 20s
|
||||||
restart: unless-stopped
|
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
|
|
||||||
Loading…
Reference in New Issue
Block a user