rfiles-online/backlog/tasks/task-3 - Deploy-rfiles.onli...

1.4 KiB

id title status assignee created_date updated_date labels dependencies priority
TASK-3 Deploy rfiles.online to Netcup Done
2026-02-17 22:32 2026-02-22 01:29
high

Description

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