network isolation
This commit is contained in:
parent
f8c8767a83
commit
2ea59dfae3
19 changed files with 121 additions and 42 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue