Update docker-compose.yml

add missing network definitions as comments
This commit is contained in:
LRVT 2023-09-27 11:42:11 +02:00 committed by GitHub
parent a7fb961f09
commit 42cb7aac88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,6 +11,12 @@ services:
- portainer_data:/data - portainer_data:/data
ports: ports:
- 9443:9443 - 9443:9443
expose:
- 9443
- 9000
- 8000
#networks:
# - proxy
#labels: #labels:
# - traefik.enable=true # - traefik.enable=true
# - traefik.http.routers.portainer.rule=Host(`portainer.example.com`) # - traefik.http.routers.portainer.rule=Host(`portainer.example.com`)
@ -19,6 +25,10 @@ services:
# # Part for local lan services only # # Part for local lan services only
# - traefik.http.routers.portainer.middlewares=local-ipwhitelist@file # - traefik.http.routers.portainer.middlewares=local-ipwhitelist@file
#networks:
# proxy:
# external: true
volumes: volumes:
portainer_data: portainer_data:
external: true external: true