17 lines
534 B
YAML
17 lines
534 B
YAML
# Overlay: join the app to Nginx Proxy Manager's network on docker-1.
|
|||
|
|
# NPM (container npm_app_1) forwards to http://${APP_ALIAS}:8000.
|
||
|
|
# The alias is per stack because prod and test share npm_default and the service
|
||
|
|
# name "app" would collide. Only the app joins. postgres and the worker never do.
|
||
|
|
# See deploy/npm-proxy-host.md for the proxy host settings.
|
||
|
|
|
||
|
|
services:
|
||
|
|
app:
|
||
|
|
networks:
|
||
|
|
npm_default:
|
||
|
|
aliases:
|
||
|
|
- ${APP_ALIAS:?set APP_ALIAS in the stack env file}
|
||
|
|
|
||
|
|
networks:
|
||
|
|
npm_default:
|
||
|
|
external: true
|