frontend structiure generated
This commit is contained in:
22
compose.yaml
22
compose.yaml
@@ -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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user