Add Commento blueprint with Docker Compose and configuration files

- Introduced Docker Compose setup for Commento service, including environment variables for domain and PostgreSQL configuration.
- Added logo for Commento.
- Created template.toml for Commento with default variables for configuration.
This commit is contained in:
Mauricio Siu 2025-03-30 21:17:41 -06:00
parent 984bf1deb8
commit 3e2083df18
3 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,22 @@
version: "3"
services:
commento:
image: registry.gitlab.com/commento/commento:v1.8.0
ports:
- "8080"
environment:
- COMMENTO_ORIGIN=${COMMENTO_ORIGIN}
- COMMENTO_POSTGRES=${COMMENTO_POSTGRES}
depends_on:
- postgres
postgres:
image: postgres:11
environment:
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
volumes:
- postgres-data:/var/lib/postgresql/data
volumes:
postgres-data:

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.2 KiB

View File

@ -0,0 +1,14 @@
[variables]
DOMAIN = "${domain}"
POSTGRES_PASSWORD = "${password:16}"
[config]
[[config.domains]]
serviceName = "commento"
port = 8080
host = "${DOMAIN}"
[config.env]
COMMENTO_ORIGIN = "http://${DOMAIN}"
COMMENTO_POSTGRES = "postgres://postgres:${POSTGRES_PASSWORD}@postgres:5432/postgres?sslmode=disable"
POSTGRES_PASSWORD = "${POSTGRES_PASSWORD}"