Files
anouma/docker-compose.override.yml.example
T

26 lines
929 B
Plaintext

# Example override for running ANOUMA behind an existing reverse proxy (e.g.
# Nginx Proxy Manager) that has its own Docker network.
#
# setup.sh generates docker-compose.override.yml automatically when it
# detects such a network - this file is just the committed reference/manual
# fallback. Docker Compose picks up docker-compose.override.yml automatically
# alongside docker-compose.yml, no extra -f flags needed.
#
# To use manually: copy this to docker-compose.override.yml and set
# NPM_NETWORK in .env to your proxy's actual network name (find it with
# `docker network ls`).
networks:
npm-network:
name: ${NPM_NETWORK}
external: true
services:
app:
networks:
- anouma-network
- npm-network
# No need to publish the port to the host when a reverse proxy reaches
# the container directly over the shared network - remove/comment the
# "ports" mapping in docker-compose.yml if so.