dqsdsq
This commit is contained in:
20
swarm.yml
20
swarm.yml
@@ -179,9 +179,22 @@
|
||||
- "/var/run/docker.sock:/var/run/docker.sock:ro"
|
||||
networks:
|
||||
- public
|
||||
# ports:
|
||||
# - "80:80"
|
||||
# - "443:443"
|
||||
ports:
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
- target: 80
|
||||
published: 80
|
||||
protocol: tcp
|
||||
mode: host
|
||||
- target: 443
|
||||
published: 443
|
||||
protocol: tcp
|
||||
mode: host
|
||||
# - target: 443
|
||||
# published: 443
|
||||
# protocol: udp
|
||||
# mode: host
|
||||
# For Mattermost
|
||||
# - "8443:8443"
|
||||
configs:
|
||||
@@ -218,8 +231,7 @@
|
||||
- "traefik.http.routers.http-catchall.middlewares=redirect-to-https"
|
||||
- "traefik.http.middlewares.redirect-to-https.redirectscheme.scheme=https"
|
||||
- "traefik.http.middlewares.privatevpn.ipwhitelist.sourcerange=100.96.0.0/16"
|
||||
- "traefik.http.routers.dashboard.middlewares=privatevpn"
|
||||
|
||||
# - "traefik.http.routers.dashboard.middlewares=privatevpn"
|
||||
agent:
|
||||
image: portainer/agent:latest
|
||||
environment:
|
||||
|
||||
Reference in New Issue
Block a user