Skip to content

Commit

Permalink
Use explicit links to service container name for ddev/ddev#1897
Browse files Browse the repository at this point in the history
  • Loading branch information
rfay committed Oct 25, 2019
1 parent d413590 commit 6884195
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docker-compose-services/mysql/docker-compose.mysql.yaml
Expand Up @@ -24,7 +24,11 @@ services:
source: "."
target: "/mnt/ddev_config"
# Optionally send startup flags.
# command: --sql_mode=""
# command: --sql_mode=""
web:
links:
- mysql:mysql

# Names our volume
volumes:
mysql-db:
3 changes: 3 additions & 0 deletions docker-compose-services/old_php/.ddev/docker-compose.php.yaml
Expand Up @@ -23,6 +23,9 @@ services:
- ddev-global-cache:/mnt/ddev-global-cache

web:
links:
- php:php
healthcheck:
# Use "true" as the healthcheck to ignore its result
test: ["CMD", "true"]

0 comments on commit 6884195

Please sign in to comment.