chore: use docker init system for running wakapi to fight zombies (resolve #713) [skip ci]

This commit is contained in:
Ferdinand Mütsch
2025-04-23 14:46:33 +02:00
parent a842467067
commit 9843a406cc
2 changed files with 2 additions and 0 deletions

View File

@@ -79,6 +79,7 @@ $ SALT="$(cat /dev/urandom | LC_ALL=C tr -dc 'a-zA-Z0-9' | fold -w ${1:-32} | he
# Run the container
$ docker run -d \
--init \
-p 3000:3000 \
-e "WAKAPI_PASSWORD_SALT=$SALT" \
-v wakapi-data:/data \

View File

@@ -1,6 +1,7 @@
services:
wakapi:
build: .
init: true
ports:
- 3000:3000
restart: unless-stopped