Für die API-Tests wird eine andere Datenbank-Verbindung benötigt. Sonst werden die vorhandenen Daten verändert.

This commit is contained in:
2021-04-06 16:52:51 +02:00
parent 09ffadc596
commit ac99e079ee
2 changed files with 14 additions and 1 deletions
+13
View File
@@ -8,6 +8,19 @@ services:
docker: "true"
ports:
- 8090:80
volumes:
- ./api:/var/www
- logs:/var/www/logs
test-api:
build: ./api/
environment:
docker: "true"
DATABASES_HOST: psql.torsten-hettstedt.net
DATABASES_NAME: testdb
DATABASES_USER: bruce
DATABASES_PASS: mypass
ports:
- 8091:80
volumes:
- ./api:/var/www
- logs:/var/www/logs