Files
wordcloud/docker-compose.yml
T
broccoli 52c2496331
Build, Push and Deploy / build (push) Failing after 1s
Build, Push and Deploy / deploy (push) Skipped
ci: add Gitea Actions build and deploy pipeline
2026-08-30 15:05:37 +08:00

43 lines
1.2 KiB
YAML

services:
backend:
image: "${HARBOR_REGISTRY:-114.55.99.6:10081}/wordcloud/wordcloud-backend:${IMAGE_TAG:-latest}"
build:
context: ./backend
dockerfile: Dockerfile
container_name: wordcloud-backend
ports:
- "8000:8000"
volumes:
- wordcloud_workspace:/app/service_workspace
- wordcloud_assets:/app/service_assets
- wordcloud_projects:/app/service_projects
- wordcloud_design_templates:/app/service_design_templates
- wordcloud_fonts:/app/service_fonts
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8000/api/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 60s
frontend:
image: "${HARBOR_REGISTRY:-114.55.99.6:10081}/wordcloud/wordcloud-frontend:${IMAGE_TAG:-latest}"
build:
context: ./frontend
dockerfile: Dockerfile
container_name: wordcloud-frontend
ports:
- "3000:80"
depends_on:
backend:
condition: service_healthy
restart: unless-stopped
volumes:
wordcloud_workspace:
wordcloud_assets:
wordcloud_projects:
wordcloud_design_templates:
wordcloud_fonts: