initial commit

This commit is contained in:
2025-08-31 18:10:39 +00:00
parent fc9d33afd5
commit e330216375
7 changed files with 270 additions and 0 deletions

18
stacks/gateway-stack.yml Normal file
View File

@@ -0,0 +1,18 @@
version: "3.9"
networks: { appNet: { external: true } }
services:
npm:
image: jc21/nginx-proxy-manager:latest
networks: [appNet]
ports: ["80:80","443:443","81:81"]
volumes:
- /mnt/data/gateway/npm/data:/data
- /mnt/data/gateway/npm/letsencrypt:/etc/letsencrypt
deploy:
replicas: 2
placement:
constraints: ["node.role == manager"]
resources:
limits: { cpus: "0.50", memory: 512M }
reservations: { cpus: "0.10", memory: 128M }