* support flags commands, move to cmd * fix target name * test for happy path importer * add export cmd * fix wrong import, lint warns * increase test timeout * add sellp to allow main test server to start * implement all cmds * handle backup/restore errors * fix import status check, hide secret from logs * backup cmd err tests * randimize test port * avoid dup code in Last controller * add target to make all bin archives * remove container in make * add smiple scripts to simplify commands, update readme * add docs on dockerless, enforce app user * add restore info * move last to lastCommentsScope const
38 lines
932 B
YAML
38 lines
932 B
YAML
version: '2'
|
|
|
|
services:
|
|
remark:
|
|
build: .
|
|
image: umputun/remark42:latest
|
|
container_name: "remark42"
|
|
hostname: "remark42"
|
|
restart: always
|
|
|
|
logging:
|
|
driver: json-file
|
|
options:
|
|
max-size: "10m"
|
|
max-file: "5"
|
|
|
|
# uncomment to expose directly (no proxy)
|
|
#ports:
|
|
# - "80:8080"
|
|
|
|
environment:
|
|
- REMARK_URL
|
|
- SECRET
|
|
- STORE_BOLT_PATH=/srv/var/db
|
|
- BACKUP_PATH=/srv/var/backup
|
|
- DEBUG=true
|
|
- AUTH_GOOGLE_CID
|
|
- AUTH_GOOGLE_CSEC
|
|
- AUTH_GITHUB_CID
|
|
- AUTH_GITHUB_CSEC
|
|
- AUTH_FACEBOOK_CID
|
|
- AUTH_FACEBOOK_CSEC
|
|
- AUTH_DISQUS_CID
|
|
- AUTH_DISQUS_CSEC
|
|
# - DEV_PASSWD=password # development mode, be careful!
|
|
volumes:
|
|
- ./var:/srv/var
|