mirror of
https://gitea.zaclys.com/yannic/selfhosting.git
synced 2026-04-28 10:10:42 +02:00
network isolation
This commit is contained in:
@@ -9,7 +9,7 @@ services:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- portainer_data:/data
|
||||
networks:
|
||||
- srv
|
||||
- portainer-frontend
|
||||
restart: unless-stopped
|
||||
expose:
|
||||
- 9000
|
||||
@@ -23,6 +23,7 @@ services:
|
||||
- traefik.http.middlewares.portainerPStrip.stripprefix.prefixes=${PATH_PORTAINER}
|
||||
- traefik.http.middlewares.portainerRedir.redirectregex.regex=^(.*)${PATH_PORTAINER}$$
|
||||
- traefik.http.middlewares.portainerRedir.redirectregex.replacement=$${1}${PATH_PORTAINER}/
|
||||
- traefik.docker.network=portainer-frontend
|
||||
|
||||
volumes:
|
||||
portainer_data:
|
||||
|
||||
Reference in New Issue
Block a user