Files
remark42/docker-compose.yml
T
2017-12-30 11:42:07 -06:00

31 lines
771 B
YAML

version: '2'
services:
remark:
build: .
image: umputun/remark
container_name: "remark"
hostname: "remark"
restart: always
logging:
driver: json-file
options:
max-size: "10m"
max-file: "5"
ports:
- "8080:8080"
environment:
- REMARK_URL=http://remark.umputun.com:8080
- BOLTDB_FILE=/srv/var/remark.db
- SESSION_STORE=/srv/var
- DEV=true # development mode flag. It turns authentication off, be careful!
- DEBUG=true
volumes:
- ./var:/srv/var
- ./web:/srv/web # maps web directory directly and propagate local changes to container without redeploy