2
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-12-24 14:31:51 +01:00

add commento

This commit is contained in:
kev
2021-10-27 12:07:38 +08:00
parent 129ed7a3fc
commit ea05e918ea
6 changed files with 50 additions and 13 deletions

7
commento/README.md Normal file
View File

@@ -0,0 +1,7 @@
commento
========
[Commento][1] allows you to foster discussion on your website if you have a blog,
you can embed Commento if you want your readers to add comments.
[1]: https://github.com/adtac/commento

View File

@@ -0,0 +1,27 @@
version: "3.8"
services:
commento:
image: registry.gitlab.com/commento/commento
ports:
- "8080:8080"
environment:
- COMMENTO_ORIGIN=http://commento.easypi.tv:8080
- COMMENTO_PORT=8080
- COMMENTO_POSTGRES=postgres://commento:commento@postgres:5432/commento?sslmode=disable
depends_on:
- postgres
restart: unless-stopped
postgres:
image: postgres:alpine
ports:
- "5432:5432"
volumes:
- ./data:/var/lib/postgresql/data
environment:
- POSTGRES_USER=commento
- POSTGRES_PASSWORD=commento
- POSTGRES_DB=commento
restart: unless-stopped