Forcing network name to be able to use docker-compose from inside testcafe container
(otherwise, containers started inside testcafe container are not on the same network)
This commit is contained in:
parent
720370a9fa
commit
da1687bdf2
@ -1,4 +1,4 @@
|
|||||||
version: "3"
|
version: "3.5"
|
||||||
services:
|
services:
|
||||||
testcafe:
|
testcafe:
|
||||||
build: tests/
|
build: tests/
|
||||||
@ -13,3 +13,7 @@ services:
|
|||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
# security_opt:
|
# security_opt:
|
||||||
# - seccomp:unconfined
|
# - seccomp:unconfined
|
||||||
|
|
||||||
|
networks:
|
||||||
|
default:
|
||||||
|
name: workadventure_dev
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
version: "3"
|
version: "3.5"
|
||||||
services:
|
services:
|
||||||
reverse-proxy:
|
reverse-proxy:
|
||||||
image: traefik:v2.5
|
image: traefik:v2.5
|
||||||
@ -239,3 +239,7 @@ services:
|
|||||||
# #- --cert=/root/letsencrypt/fullchain.pem
|
# #- --cert=/root/letsencrypt/fullchain.pem
|
||||||
# #- --pkey=/root/letsencrypt/privkey.pem
|
# #- --pkey=/root/letsencrypt/privkey.pem
|
||||||
# network_mode: host
|
# network_mode: host
|
||||||
|
|
||||||
|
networks:
|
||||||
|
default:
|
||||||
|
name: workadventure_dev
|
||||||
|
Loading…
Reference in New Issue
Block a user