-
-
Notifications
You must be signed in to change notification settings - Fork 862
Closed
Description
we can use docker compose environment element to define symfony envs. For example DATABASE_URL.
services:
php:
environment:
DATABASE_URL: "mysql..."
Using this method all .env
files, even .env.test.local
file will be overwritten. In that case my tests runs on DATABASE_URL which is defined in docker-compose what is wrong, becouse test env has another database connection. My question is if it is possible to define symfony envs with docker-compsose for both dev and test environment
Metadata
Metadata
Assignees
Labels
No labels