diff --git a/docker/docker-compose.test.yml b/docker/docker-compose.test.yml index c16e042e5..c6304636c 100644 --- a/docker/docker-compose.test.yml +++ b/docker/docker-compose.test.yml @@ -13,7 +13,10 @@ services: build: context: ../ dockerfile: docker/dev.app.Dockerfile + env_file: + - ../.env.test container_name: phpreport-app + command: bash -c "cp .env.test .env && php -S 0.0.0.0:8000" ports: - "8000:8000" depends_on: @@ -24,7 +27,7 @@ services: dockerfile: docker/dev.api.Dockerfile container_name: phpreport-api env_file: - - ../.env.example + - ../.env.test ports: - "8555:8555" depends_on: