feat: Added nginx container to docker compose file
This commit is contained in:
@@ -60,12 +60,22 @@ services:
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- 3000:3000
|
||||
# No API_URL: web proxies nothing. The reverse proxy in front of this
|
||||
# deployment must route /api, /auth, /public, /install*, /update* to
|
||||
# server:8080 and everything else to web:3000. Reaching web:3000
|
||||
# directly serves the UI and every API call 404s.
|
||||
# No API_URL: web proxies nothing. The nginx service below routes
|
||||
# /api, /auth, /public, /install*, /update* to server:8080 and
|
||||
# everything else to web:3000. Reaching web:3000 directly serves the
|
||||
# UI and every API call 404s.
|
||||
depends_on:
|
||||
- server
|
||||
nginx:
|
||||
image: nginx:1.29-alpine
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- ${NGINX_HTTP_PORT:-80}:80
|
||||
volumes:
|
||||
- ./nginx/vantage.conf:/etc/nginx/conf.d/default.conf:ro
|
||||
depends_on:
|
||||
- server
|
||||
- web
|
||||
volumes:
|
||||
mongo_data: null
|
||||
redis_data: null
|
||||
|
||||
Reference in New Issue
Block a user