Skip to content

Instantly share code, notes, and snippets.

@MexsonFernandes
Last active January 2, 2021 17:21
Show Gist options
  • Save MexsonFernandes/b922313101ded34aac92b891c4cdfd6b to your computer and use it in GitHub Desktop.
Save MexsonFernandes/b922313101ded34aac92b891c4cdfd6b to your computer and use it in GitHub Desktop.
Deploy remark42 using Docker and Docker Compose
version: '2'
services:
remark:
image: umputun/remark42:latest
container_name: "remark42"
hostname: "remark42"
restart: always
logging:
driver: json-file
options:
max-size: "10m"
max-file: "5"
ports:
- "8080:8080"
environment:
- REMARK_URL=http://127.0.0.1:8080
- SITE=comments.mydomain
- SECRET=yuZYTA7Te7rLydT5bM6cVFK4AkNS2Ruq
- STORE_BOLT_PATH=/srv/var/db
- BACKUP_PATH=/srv/var/backup
- DEBUG=false
- ADMIN_PASSWD=M9EKMMHyfj2ZjXhx5F95DwmkSM6Q86ch
volumes:
- ./var:/srv/var
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment