50
This commit is contained in:
+8
-7
@@ -1,5 +1,6 @@
|
||||
# Stack « signature » — serveur Debian DMZ mutualisé (voir deploy/deploy.sh et docs/02-deploiement.md).
|
||||
# Variables lues dans deploy.env (généré par deploy/deploy.sh) : HTTP_PORT, HTTPS_PORT, DB_*.
|
||||
# Stack « signature » — serveur Debian DMZ mutualisé, derrière Nginx Proxy Manager.
|
||||
# Variables lues dans deploy.env (généré par deploy/deploy.sh) : NGINX_REAL_IP_FROM, DB_*.
|
||||
# docker-compose.override.yml (généré) : raccordement au réseau de NPM, ou port hôte en repli.
|
||||
name: signature
|
||||
|
||||
services:
|
||||
@@ -33,12 +34,12 @@ services:
|
||||
nginx:
|
||||
image: nginx:1.28-alpine
|
||||
container_name: signature_nginx
|
||||
ports:
|
||||
- "${HTTP_PORT:-80}:80"
|
||||
- "${HTTPS_PORT:-443}:443"
|
||||
# HTTP uniquement : TLS terminé par Nginx Proxy Manager. Aucun port publié ici.
|
||||
environment:
|
||||
NGINX_REAL_IP_FROM: ${NGINX_REAL_IP_FROM:-172.16.0.0/12}
|
||||
volumes:
|
||||
- ./docker/nginx/signature.conf:/etc/nginx/conf.d/default.conf:ro
|
||||
- ./docker/certs:/etc/nginx/certs:ro
|
||||
- ./docker/nginx/signature.conf.template:/etc/nginx/templates/default.conf.template:ro
|
||||
- ./docker/nginx/admin-allow.inc:/etc/nginx/conf.d/admin-allow.inc:ro
|
||||
- addin:/srv/addin:ro
|
||||
- ./backend/public:/var/www/html/public:ro
|
||||
- images:/var/www/html/public/img:ro
|
||||
|
||||
Reference in New Issue
Block a user