initial commit
This commit is contained in:
18
stacks/gateway-stack.yml
Normal file
18
stacks/gateway-stack.yml
Normal 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 }
|
||||
Reference in New Issue
Block a user