2022-06-05 15:44:49 +01:00
|
|
|
services:
|
|
|
|
commento:
|
|
|
|
image: ghcr.io/souramoo/commentoplusplus:latest
|
|
|
|
restart: unless-stopped
|
|
|
|
depends_on:
|
|
|
|
- db
|
|
|
|
networks:
|
|
|
|
- default
|
2023-12-21 16:13:32 +00:00
|
|
|
- coredns
|
2022-06-05 15:44:49 +01:00
|
|
|
environment:
|
|
|
|
- COMMENTO_POSTGRES=postgres://commento:commento@db:5432/commento?sslmode=disable
|
|
|
|
- COMMENTO_ORIGIN=https://commento.theorangeone.net
|
|
|
|
- COMMENTO_GZIP_STATIC=true
|
|
|
|
- COMMENTO_FORBID_NEW_OWNERS=true
|
2023-12-14 22:03:23 +00:00
|
|
|
- COMMENTO_GITHUB_KEY={{ vault_commento_github_client_id }}
|
|
|
|
- COMMENTO_GITHUB_SECRET={{ vault_commento_github_client_secret }}
|
2022-09-18 15:01:16 +01:00
|
|
|
- COMMENTO_SMTP_HOST=smtp.eu.mailgun.org
|
|
|
|
- COMMENTO_SMTP_PORT=587
|
2023-12-14 22:03:23 +00:00
|
|
|
- COMMENTO_SMTP_USERNAME={{ vault_commento_smtp_username }}
|
|
|
|
- COMMENTO_SMTP_PASSWORD={{ vault_commento_smtp_password }}
|
|
|
|
- COMMENTO_SMTP_FROM_ADDRESS={{ vault_commento_from_email }}
|
|
|
|
- COMMENTO_GITLAB_KEY={{ vault_commento_gitlab_application_id }}
|
|
|
|
- COMMENTO_GITLAB_SECRET={{ vault_commento_gitlab_application_secret }}
|
2022-06-05 15:44:49 +01:00
|
|
|
|
|
|
|
db:
|
|
|
|
image: postgres:14-alpine
|
|
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
|
|
- ./postgres:/var/lib/postgresql/data
|
|
|
|
environment:
|
|
|
|
- POSTGRES_PASSWORD=commento
|
|
|
|
- POSTGRES_USER=commento
|
|
|
|
|
|
|
|
networks:
|
2023-12-21 16:13:32 +00:00
|
|
|
coredns:
|
2022-06-05 15:44:49 +01:00
|
|
|
external: true
|