Infrastructure/docker/npm/docker-compose.yml

24 lines
939 B
YAML

services:
app:
container_name: nginx-proxy-manager
# Multi-arch tag — auto-selects the arm64 build on the Synology DS223j.
# Never set the DB_MYSQL_* / DB_SQLITE_* env vars unless you specifically
# want MariaDB — omitting them keeps NPM on its lightweight built-in
# SQLite database, no separate DB container needed.
image: 'jc21/nginx-proxy-manager:latest'
restart: unless-stopped
ports:
# Remapped off 80/443/81 — all three were already claimed on this
# Synology (DSM's own internal nginx plus other running packages).
# Temporary deployment only; revert to a clean 80:80/443:443/81:81
# once this moves to the NUC, which won't have that conflict.
- '9080:80' # HTTP, proxied traffic
- '9443:443' # HTTPS, proxied traffic
- '9081:81' # Admin UI
volumes:
- ./data:/data
- ./letsencrypt:/etc/letsencrypt
volumes:
data:
letsencrypt: