Replies: 1 comment 2 replies
-
Haven't done this in a while, but I used to generate a file like this: version: 3.5
services:
php-fpm:
extra_hosts:
- app.b.test:${TRAEFIK_ADDRESS:-0.0.0.0}
php-debug:
extra_hosts:
- app.b.test:${TRAEFIK_ADDRESS:-0.0.0.0} This made it possible to make requests from one environment to another. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Right now, the steps for connecting environments together involve:
Ex: app.a.test <-> app.b.test
warden shell
into a.testwarden shell
into b.testwarden-env.yml
for a.test, under the image you want to be able to connect to b.test:warden-env.yml
for b.test, under the image you want to be able to connect to a.test:warden env up
both environmentsdocker network connect a_default <image for b, e.g. b-php-fpm-1>
docker network connect b_default <image for a, e.g. a-php-fpm-1>
Ideally, this should be something like a
CONNECTED_PROJECT=
variable in.env
that takes care of all the steps.Beta Was this translation helpful? Give feedback.
All reactions