All checks were successful
Build and Push / build (push) Successful in 7s
The Docker entrypoint previously created symlinks from /app/ to /app/data/ so that scripts writing relative paths would persist to the mounted volume. This caused symlink loops in production when stale symlinks leaked into the host data directory. Instead, all scrapers, merge_and_map.py, regen_map.py, and run_all.sh now accept a --data-dir argument (default: ".") that controls where data files are read from and written to. The entrypoint and crontab pass --data-dir /app/data, eliminating the need for symlinks entirely. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
9 lines
240 B
Bash
9 lines
240 B
Bash
#!/bin/bash
|
|
|
|
docker rm -f maru-hleda-byt
|
|
|
|
# gitea registry login with kacerr / token
|
|
docker run -d --name maru-hleda-byt \
|
|
-p 8080:8080 \
|
|
-v /srv/maru-hleda-byt/data:/app/data \
|
|
gitea.home.hrajfrisbee.cz/littlemeat/maru-hleda-byt:0.01 |