nun mal erste komplette Version mit API und Frontend (React !)

This commit is contained in:
rxf
2026-02-07 14:12:13 +01:00
parent 6e1f5744f9
commit 9c5f985cab
22 changed files with 1302 additions and 0 deletions

View File

@@ -49,6 +49,35 @@ services:
postgres:
condition: service_healthy
api:
image: docker.citysensor.de/wetterstation-api:latest
build:
context: ./api
dockerfile: Dockerfile
container_name: wetterstation_api
restart: unless-stopped
env_file:
- ./.env
environment:
DB_HOST: postgres
ports:
- "8000:8000"
depends_on:
postgres:
condition: service_healthy
frontend:
image: docker.citysensor.de/wetterstation-frontend:latest
build:
context: ./frontend
dockerfile: Dockerfile
container_name: wetterstation_frontend
restart: unless-stopped
ports:
- "80:80"
depends_on:
- api
volumes:
postgres_data:
driver: local