Permalink
Cannot retrieve contributors at this time
41 lines (37 sloc)
1.03 KB
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
remark42/docker-compose.yml
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "2" | |
services: | |
remark: | |
# remove the next line in case you want to use this docker-compose separately | |
# as otherwise it would complain for absence of Dockerfile | |
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" | |
# - "443:8443" | |
environment: | |
- REMARK_URL | |
- SECRET | |
- 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 | |
# Enable it only for the initial comment import or for manual backups. | |
# Do not leave server running with ADMIN_PASSWD set if you don't have intention | |
# to keep creating backups manually! | |
# - ADMIN_PASSWD=<your secret password> | |
volumes: | |
- ./var:/srv/var |