adding traefik network to all dockers
This commit is contained in:
@@ -18,3 +18,9 @@ services:
|
||||
ports:
|
||||
- 8200:8200
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- traefik_portal
|
||||
|
||||
networks:
|
||||
traefik_portal:
|
||||
external: true
|
||||
|
||||
@@ -10,6 +10,7 @@ services:
|
||||
restart: always
|
||||
networks:
|
||||
- gitea
|
||||
- traefik_portal
|
||||
volumes:
|
||||
- ./data:/data
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
@@ -21,3 +22,5 @@ services:
|
||||
networks:
|
||||
gitea:
|
||||
external: false
|
||||
traefik_portal:
|
||||
external: true
|
||||
|
||||
@@ -11,3 +11,9 @@ services:
|
||||
- ./data:/data # the path before the : can be changed
|
||||
ports:
|
||||
- 8081:80 # you can replace the 11001 with your preferred port
|
||||
networks:
|
||||
- traefik_portal
|
||||
|
||||
networks:
|
||||
traefik_portal:
|
||||
external: true
|
||||
|
||||
@@ -25,6 +25,7 @@ services:
|
||||
networks:
|
||||
vpn_net:
|
||||
ipv4_address: 172.32.0.2
|
||||
traefik_portal:
|
||||
|
||||
traefik:
|
||||
image: traefik:v3.0
|
||||
@@ -44,3 +45,5 @@ networks:
|
||||
ipam:
|
||||
config:
|
||||
- subnet: 172.32.0.0/24
|
||||
traefik_portal:
|
||||
driver: bridge
|
||||
|
||||
Reference in New Issue
Block a user