frontend structiure generated

This commit is contained in:
2025-04-17 17:00:15 +02:00
parent 22b6f3bd2a
commit 3ee632b683
15 changed files with 720 additions and 30 deletions

View File

@@ -30,19 +30,35 @@ services:
- DB_NAME=${DB_DATABASE}
- GIN_MODE=${GIN_MODE}
ports:
- "8089:8080"
- "34013:8080"
depends_on:
db:
condition: service_healthy
networks:
- wagfarm-net
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080/health"] # or use the health endpoint of your API
test: ["CMD", "curl", "-f", "http://localhost:8080/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 5s
ui:
build: ./wagfarm-ui
container_name: wagfarm-ui
restart: always
ports:
- "34014:80"
depends_on:
api:
condition: service_healthy
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:80"]
interval: 30s
timeout: 10s
retries: 3
start_period: 5s
networks:
wagfarm-net: