Enhance Docker setup for Traefik integration and network management. Added logic to connect containers to the external 'homelab' network and ensured proper network configuration for services in the docker-compose file.
continuous-integration/drone/push Build is passing
continuous-integration/drone/push Build is passing
This commit is contained in:
1 parent
2786aba3ef
commit
2623664504
2 files changed
+12
-3
No files matched your search
@@ -61,9 +61,10 @@ services:
|
||||
condition: service_healthy
|
||||
redis:
|
||||
condition: service_healthy
|
||||
# homelab first: Traefik is there; iled for postgres/redis/proxy.
|
||||
networks:
|
||||
- iled
|
||||
- homelab
|
||||
- iled
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.docker.network=homelab"
|
||||
@@ -79,8 +80,8 @@ services:
|
||||
depends_on:
|
||||
- api
|
||||
networks:
|
||||
- iled
|
||||
- homelab
|
||||
- iled
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.docker.network=homelab"
|
||||
@@ -96,8 +97,8 @@ services:
|
||||
depends_on:
|
||||
- api
|
||||
networks:
|
||||
- iled
|
||||
- homelab
|
||||
- iled
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.docker.network=homelab"
|
||||
|
||||
Reference in new issue
Block a user