-
Notifications
You must be signed in to change notification settings - Fork 0
/
gateway.yml
33 lines (31 loc) · 837 Bytes
/
gateway.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# 100
version: '3'
services:
npm:
image: 'jc21/nginx-proxy-manager:latest'
container_name: npm
ports:
- '80:80'
- '81:81'
- '443:443'
environment:
- DB_SQLITE_FILE=/data/database.sqlite
volumes:
- ${VOLUME_ROOT}/npm/data:/data
- ${VOLUME_ROOT}/npm/letsencrypt:/etc/letsencrypt
restart: unless-stopped
portainer_edge_agent:
image: portainer/agent
container_name: portainer_agent
command: -H unix:///var/run/docker.sock
volumes:
- /:/host
- /var/lib/docker/volumes:/var/lib/docker/volumes
- /var/run/docker.sock:/var/run/docker.sock
- ${VOLUME_ROOT}/portainer_agent:/data
environment:
- EDGE=1
- EDGE_ID=${EDGE_ID_GATEWAY}
- EDGE_KEY=${EDGE_KEY_GATEWAY}
- EDGE_INSECURE_POLL=1
restart: unless-stopped