Some checks failed
Build and Deploy UMBRA / build-and-deploy (push) Failing after 11m16s
CI/CD fixes (from debugger + docker specialist review): - Add explicit GITEA_TOKEN for checkout auth - Add act_runner_config.yaml with container.network: host so job containers can reach git.sentinelforest.xyz (root cause of 0s silent checkout failure) - Mount config into act_runner container UI: Enlarge save/close/edit/delete icons in all detail panels (EventDetailPanel, TodoDetailPanel, ReminderDetailPanel, TaskDetailPanel, EntityDetailPanel) from h-7/h-3.5 to h-8/h-4 for better visibility and click targets. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
96 lines
2.2 KiB
YAML
96 lines
2.2 KiB
YAML
services:
|
|
db:
|
|
image: postgres:16-alpine
|
|
restart: unless-stopped
|
|
env_file: .env
|
|
volumes:
|
|
- postgres_data:/var/lib/postgresql/data
|
|
networks:
|
|
- backend_net
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "pg_isready -U $POSTGRES_USER -d $POSTGRES_DB"]
|
|
interval: 5s
|
|
timeout: 5s
|
|
retries: 5
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
memory: 512M
|
|
cpus: "1.0"
|
|
|
|
backend:
|
|
image: git.sentinelforest.xyz/rohskiddo/umbra-backend:main-latest
|
|
build: ./backend
|
|
restart: unless-stopped
|
|
env_file: .env
|
|
depends_on:
|
|
db:
|
|
condition: service_healthy
|
|
networks:
|
|
- backend_net
|
|
- frontend_net
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "python -c \"import urllib.request; urllib.request.urlopen('http://localhost:8000/health')\""]
|
|
interval: 10s
|
|
timeout: 5s
|
|
retries: 3
|
|
start_period: 30s
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
memory: 512M
|
|
cpus: "1.0"
|
|
|
|
frontend:
|
|
image: git.sentinelforest.xyz/rohskiddo/umbra-frontend:main-latest
|
|
build: ./frontend
|
|
restart: unless-stopped
|
|
ports:
|
|
- "80:8080"
|
|
depends_on:
|
|
backend:
|
|
condition: service_healthy
|
|
networks:
|
|
- frontend_net
|
|
healthcheck:
|
|
test: ["CMD", "wget", "--spider", "--quiet", "http://localhost:8080/"]
|
|
interval: 15s
|
|
timeout: 5s
|
|
retries: 3
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
memory: 128M
|
|
cpus: "0.5"
|
|
|
|
act_runner:
|
|
image: gitea/act_runner:0.2.11
|
|
restart: unless-stopped
|
|
security_opt:
|
|
- label:disable
|
|
network_mode: host
|
|
volumes:
|
|
- act_runner_data:/data
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
- ./act_runner_config.yaml:/data/config.yaml:ro
|
|
environment:
|
|
- GITEA_INSTANCE_URL=https://git.sentinelforest.xyz
|
|
- GITEA_RUNNER_REGISTRATION_TOKEN=${GITEA_RUNNER_REGISTRATION_TOKEN}
|
|
- GITEA_RUNNER_NAME=umbra-runner
|
|
- GITEA_RUNNER_LABELS=ubuntu-latest:docker://node:20-bookworm
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
memory: 256M
|
|
cpus: "1.0"
|
|
|
|
volumes:
|
|
postgres_data:
|
|
act_runner_data:
|
|
|
|
networks:
|
|
backend_net:
|
|
driver: bridge
|
|
frontend_net:
|
|
driver: bridge
|