Oberfläche Bereitstellen

This commit is contained in:
2025-06-13 19:06:36 +02:00
parent 91849375c7
commit a09edcae25
5 changed files with 56 additions and 33 deletions
+33 -30
View File
@@ -1,32 +1,35 @@
volumes:
logs:
driver: local
logs:
driver: local
services:
api:
build: ./api/
environment:
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
ui:
build: ./ui/
ports:
- 80:80
depends_on:
- api
api:
build: ./api/
environment:
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
ui:
build: ./ui/
env_file:
- ui/.env
ports:
- "8080:3000"
depends_on:
- api
- test-api