Move network to include

This commit is contained in:
2025-02-05 20:32:19 +02:00
parent ff55ea012d
commit ee4230ac58

View File

@@ -1,16 +1,9 @@
########################### NETWORKS
# There is no need to create any networks outside this docker-compose file.
networks:
proxy:
name: proxy
driver: bridge
socket_proxy:
name: socket_proxy
driver: bridge
# Docker Compose v2.20 or greater required to use "include" # Docker Compose v2.20 or greater required to use "include"
include: include:
########################### SERVICES #################### NETWORKS ####################
- ../compose/networks/proxy.yaml
- ../compose/networks/socket-proxy.yaml
#################### SERVICES ####################
- ../services/dc-traefik.yml - ../services/dc-traefik.yml
- ../services/dc-socket-proxy.yml - ../services/dc-socket-proxy.yml
- ../services/dc-crowdsec.yml - ../services/dc-crowdsec.yml