mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
Embedded Postgres 17 + Redis via s6-overlay when DATABASE_URL/REDIS_URL are unset; restores the one-command docker run for 2.0. EMBEDDED=0 disables; Compose stays the production path. Verified arm64 (14/14 lifecycle + Compose regression) and amd64 (build + embedded smoke).
9 lines
226 B
Plaintext
Executable File
9 lines
226 B
Plaintext
Executable File
#!/command/with-contenv sh
|
|
exec s6-setuidgid snapotter redis-server \
|
|
--dir /data/redis \
|
|
--bind 127.0.0.1 \
|
|
--port 6379 \
|
|
--maxmemory-policy noeviction \
|
|
--appendonly yes \
|
|
--maxmemory "${REDIS_MAXMEMORY:-512mb}"
|