From 8986a9b08da057df92ae4ff6ad7f6db17bbfdd6d Mon Sep 17 00:00:00 2001 From: Ana Rute Mendes Date: Fri, 22 Sep 2023 13:58:14 +0200 Subject: [PATCH] wip --- docker/docker-compose.test.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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: