diff --git a/backlog/tasks/task-3 - Deploy-rfiles.online-to-Netcup.md b/backlog/tasks/task-3 - Deploy-rfiles.online-to-Netcup.md index ad42ab4..ca4a474 100644 --- a/backlog/tasks/task-3 - Deploy-rfiles.online-to-Netcup.md +++ b/backlog/tasks/task-3 - Deploy-rfiles.online-to-Netcup.md @@ -1,9 +1,10 @@ --- id: TASK-3 title: Deploy rfiles.online to Netcup -status: To Do +status: Done assignee: [] created_date: '2026-02-17 22:32' +updated_date: '2026-02-22 01:29' labels: [] dependencies: [] priority: high @@ -14,3 +15,16 @@ priority: high Clone repo to /opt/apps/rfiles-online on Netcup, create .env with DB_PASSWORD/REDIS_PASSWORD/SECRET_KEY, run docker compose -f docker-compose.prod.yml up -d --build, verify migrations and health endpoint. Add DNS records (rfiles.online + *.rfiles.online CNAME to tunnel) and hostname to Cloudflare tunnel config. + +## Implementation Notes + + +Deployed to Netcup at /opt/apps/rfiles-online. Fixed celery-beat crash (read-only filesystem) by redirecting schedule file to /tmp tmpfs. All 5 containers running: rfiles-api (healthy), rfiles-db (healthy), rfiles-redis (healthy), rfiles-celery-worker, rfiles-celery-beat. Traefik labels configured for rfiles.online, www.rfiles.online, and direct.rfiles.online. + +Deployed 2026-02-22: +- Location: /opt/apps/rfiles-online on Netcup +- 5 containers: rfiles-api (healthy), rfiles-db, rfiles-redis, rfiles-celery-worker, rfiles-celery-beat +- Fixed celery-beat crash (read_only fs) — added --schedule=/tmp/celerybeat-schedule +- Traefik routing: rfiles.online, www.rfiles.online, *.rfiles.online +- DNS live, site responding 200 +