feat(streaming): persist lampac passwd/init.conf via seed volume
renovate-ci / validate-renovate (push) Skipped
ci / lint-compose (push) Successful in 10s
ci / lint-actionlint (push) Successful in 5s
ci / lint-shellcheck (push) Successful in 7s
ci / lint-prettier (push) Successful in 15s
ci / lint-ruff (push) Successful in 7s
ci / lint-yaml (push) Successful in 11s
ci / lint-dockerfiles (push) Successful in 6s
ci / validate (push) Successful in 7s
ci / build (push) Skipped
renovate-ci / validate-renovate (push) Skipped
ci / lint-compose (push) Successful in 10s
ci / lint-actionlint (push) Successful in 5s
ci / lint-shellcheck (push) Successful in 7s
ci / lint-prettier (push) Successful in 15s
ci / lint-ruff (push) Successful in 7s
ci / lint-yaml (push) Successful in 11s
ci / lint-dockerfiles (push) Successful in 6s
ci / validate (push) Successful in 7s
ci / build (push) Skipped
This commit is contained in:
1 parent
4093888749
commit
aad73bf9e8
1 file changed
+11
@@ -122,9 +122,19 @@ services:
|
||||
container_name: lampac
|
||||
restart: unless-stopped
|
||||
shm_size: 1024mb
|
||||
# Restore persisted passwd/init.conf from seed volume before start,
|
||||
# so config survives container recreation (upstream entrypoint is
|
||||
# ENTRYPOINT ["dotnet", "Core.dll"], WORKDIR /lampac, USER lampac).
|
||||
entrypoint:
|
||||
[
|
||||
"/bin/sh",
|
||||
"-c",
|
||||
"if [ -f /seed/passwd ] && [ ! -f /lampac/passwd ]; then cp /seed/passwd /lampac/passwd; fi; if [ -f /seed/init.conf ] && [ ! -f /lampac/init.conf ]; then cp /seed/init.conf /lampac/init.conf; fi; exec /usr/share/dotnet/dotnet Core.dll",
|
||||
]
|
||||
environment:
|
||||
- TZ=${TZ:-Europe/Berlin}
|
||||
volumes:
|
||||
- lampac-seed:/seed
|
||||
- lampac-cache:/lampac/cache
|
||||
- lampac-db:/lampac/database
|
||||
ports:
|
||||
@@ -140,6 +150,7 @@ volumes:
|
||||
prowlarr-cfg:
|
||||
jellyseerr-cfg:
|
||||
bazarr-cfg:
|
||||
lampac-seed:
|
||||
lampac-cache:
|
||||
lampac-db:
|
||||
downloads:
|
||||
|
||||
Reference in new issue
Block a user