add nginx service
This commit is contained in:
@@ -1,4 +1,16 @@
|
||||
services:
|
||||
nginx:
|
||||
image: nginx:1.27.5-alpine3.21
|
||||
container_name: nginx
|
||||
restart: always
|
||||
tty: true
|
||||
ports:
|
||||
- "8888:80"
|
||||
volumes:
|
||||
- ${NGINX_CONFIG_PATH}:/etc/nginx/conf.d
|
||||
- ${NGINX_CONFIG_PATH}/logs:/var/log/nginx/
|
||||
|
||||
|
||||
backend_db:
|
||||
image: postgres:17-alpine3.21
|
||||
container_name: backend_db
|
||||
@@ -71,6 +83,7 @@ services:
|
||||
- NODE_ENV=production
|
||||
- DB_HOST=notification_db
|
||||
- DB_PORT=5432
|
||||
- SERVICE_URL=${NOTIFICATION_SERVICE_URL}
|
||||
- DB_USERNAME=${NOTIFICATION_SERVER_USER}
|
||||
- DB_PASSWORD=${NOTIFICATION_SERVER_PASSWORD}
|
||||
- DB_DATABASE=${NOTIFICATION_SERVER_DB}
|
||||
|
||||
Reference in New Issue
Block a user