mirror of
https://github.com/muety/wakapi.git
synced 2025-12-05 22:20:24 -08:00
chore: use docker init system for running wakapi to fight zombies (resolve #713) [skip ci]
This commit is contained in:
@@ -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 \
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
services:
|
||||
wakapi:
|
||||
build: .
|
||||
init: true
|
||||
ports:
|
||||
- 3000:3000
|
||||
restart: unless-stopped
|
||||
|
||||
Reference in New Issue
Block a user