u
This commit is contained in:
23
docs/dashdemo.sh
Executable file
23
docs/dashdemo.sh
Executable file
@@ -0,0 +1,23 @@
|
||||
#!/bin/bash
|
||||
docker rm -f dashdemo 2>/dev/null
|
||||
|
||||
docker run -d \
|
||||
--name dashdemo \
|
||||
--restart unless-stopped \
|
||||
--read-only \
|
||||
--tmpfs /tmp:rw,noexec,nosuid,size=64m \
|
||||
--tmpfs /run:rw,noexec,nosuid,size=16m \
|
||||
-u $(id -u):$(id -g) \
|
||||
-p 127.0.0.1:4209:4209 \
|
||||
-e HOST=0.0.0.0 \
|
||||
-e PORT=4209 \
|
||||
-e HTTPS_PORT=0 \
|
||||
-e HEALTH_MONITOR_ENABLED=false \
|
||||
-e SQLITE_PATH=/app/data/dash.db \
|
||||
-e STORAGE_DIR=/app/data/storage \
|
||||
-e BACKUP_DIR=/app/data/backups \
|
||||
-e GOOGLE_CLIENT_ID=928121624463-m9du45ek2d5f6p9cke8qpnf89ii9no20.apps.googleusercontent.com \
|
||||
-e JWT_SECRET=dfhjkswezui32476sdjkhvbn347865 \
|
||||
-e IMPLICIT_CREATE=true \
|
||||
-v "/home/ubuntu/dashdemo:/app/data:rw" \
|
||||
dashback:latest
|
||||
Reference in New Issue
Block a user