switch to coreos bbolt

This commit is contained in:
Umputun
2018-03-07 13:05:57 -06:00
parent 2872f6a6ae
commit 26318cb07d
33 changed files with 92 additions and 211 deletions
+5 -3
View File
@@ -14,15 +14,16 @@ services:
max-size: "10m"
max-file: "5"
ports:
- "8080:8080"
# uncomment to expose directly (no proxy)
# ports:
# - "8080:8080"
environment:
- REMARK_URL=https://demo.remark42.com
- BOLTDB_PATH=/srv/var/db
- BACKUP_PATH=/srv/var/backup
- SESSION_STORE=/srv/var/session
# - DEV=true # development mode flag. It turns authentication off, be careful!
- DEV_PASSWD=password # development mode, be careful!
- DEBUG=true
- REMARK_GOOGLE_CID
- REMARK_GOOGLE_CSEC
@@ -34,4 +35,5 @@ services:
- ./var:/srv/var
- ./web:/srv/web # maps web directory directly to propagate local changes to container without redeploy
user: ${USER} # if local UID != 1001 (default) set `USER` in your env, i.e. export USER=`id -u $USER`
command: /srv/remark server