working
This commit is contained in:
parent
9169bea79f
commit
c1cf95e855
@ -26,12 +26,23 @@ services:
|
|||||||
depends_on:
|
depends_on:
|
||||||
db:
|
db:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
# Bind to localhost only — your reverse proxy (nginx/Caddy) terminates TLS and
|
# Bind to localhost only — kept for local debugging on the host. The reverse proxy
|
||||||
# forwards to this. Drop the 127.0.0.1 prefix only if exposing directly.
|
# (Nginx Proxy Manager) reaches this over the shared `proxy` network by container name,
|
||||||
|
# so no public host port is needed.
|
||||||
ports:
|
ports:
|
||||||
- '127.0.0.1:3000:3000'
|
- '127.0.0.1:3000:3000'
|
||||||
|
networks:
|
||||||
|
- default
|
||||||
|
- proxy
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
db-data:
|
db-data:
|
||||||
uploads:
|
uploads:
|
||||||
|
|
||||||
|
networks:
|
||||||
|
# NPM lives on this network (its compose project's default network). Joining it lets
|
||||||
|
# NPM proxy to `scoreboardtools-server-1:3000` directly. External = managed elsewhere.
|
||||||
|
proxy:
|
||||||
|
external: true
|
||||||
|
name: plex_default
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user