Skip to content

Commit 62326c5

Browse files
committed
chore: remove useless network
1 parent e697a50 commit 62326c5

File tree

2 files changed

+6
-15
lines changed

2 files changed

+6
-15
lines changed

docker-compose.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ services:
2020
# Map the certificats into the container
2121
- ./certs:/etc/certs:ro
2222
networks:
23-
- frontend
24-
- backend
23+
- proxy
2524
labels:
2625
# Enable this container to be mapped by traefik
2726
# For more information, see: https://docs.traefik.io/providers/docker/#exposedbydefault
@@ -30,9 +29,5 @@ services:
3029
- "traefik.http.routers.traefik=true"
3130

3231
networks:
33-
frontend:
34-
external:
35-
name: frontend
36-
backend:
37-
external:
38-
name: backend
32+
proxy:
33+
external: true

whoami.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,8 @@ services:
1717
# If port is different than 80, use the following service:
1818
# - "traefik.http.services.<service_name>.loadbalancer.server.port=<port>"
1919
networks:
20-
- frontend
20+
- proxy
2121

2222
networks:
23-
frontend:
24-
external:
25-
name: frontend
26-
backend:
27-
external:
28-
name: backend
23+
proxy:
24+
external: true

0 commit comments

Comments
 (0)