fix(compose/net): make web network mandatory
This commit is contained in:
parent
1a9dac03b8
commit
237f8ec111
|
@ -1,4 +1,11 @@
|
|||
name: funkwhale-net
|
||||
networks:
|
||||
web:
|
||||
external: true
|
||||
|
||||
x-networks: &networks
|
||||
- web
|
||||
|
||||
include:
|
||||
- path: compose/net.dnsmasq.yml
|
||||
- path: compose/net.traefik.yml
|
||||
|
@ -12,4 +19,14 @@ include:
|
|||
# Comment out the following line if you have other containers
|
||||
# present on the docker0 network.
|
||||
- path: compose/net.helpers.docker0.yml
|
||||
- path: compose/net.verify.yml
|
||||
services:
|
||||
verify-external-connectivity:
|
||||
extends:
|
||||
file: compose/net.verify.yml
|
||||
service: verify-external-connectivity
|
||||
networks: *networks
|
||||
verify-internal-connectivity:
|
||||
extends:
|
||||
file: compose/net.verify.yml
|
||||
service: verify-internal-connectivity
|
||||
networks: *networks
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
x-verify: &verify
|
||||
init: true
|
||||
image: 'busybox'
|
||||
network_mode: bridge
|
||||
image: "busybox"
|
||||
dns: 172.17.0.1
|
||||
dns_search: funkwhale.test
|
||||
|
||||
|
@ -12,4 +11,4 @@ services:
|
|||
|
||||
verify-internal-connectivity:
|
||||
<<: *verify
|
||||
command: 'ping -c 1 ${COMPOSE_PROJECT_NAME:-funkwhale}.funkwhale.test'
|
||||
command: "ping -c 1 ${COMPOSE_PROJECT_NAME:-funkwhale}.funkwhale.test"
|
||||
|
|
Loading…
Reference in New Issue