Skip to content

Commit 85c582d

Browse files
authored
Added $APP_HOSTNAME.local sa external link for web_server
to ensure that the php container can access the web_server container via the APP_HOSTNAME environment variable
1 parent 85dbeef commit 85c582d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docker-compose.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ services:
88
- backend
99
volumes:
1010
- ./app/web/:/var/www/html/
11+
external_links:
12+
- web_server:$APP_HOSTNAME.local
1113
web_server:
1214
build:
1315
context: './docker/web/'

0 commit comments

Comments
 (0)