Add Commento blueprint with Docker Compose and configuration files

- Introduced Docker Compose setup for Commento service, including environment variables for 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:21:15 -06:00
parent 3e2083df18
commit e5075ade82
3 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1,25 @@
version: "3"
services:
commentoplusplus:
image: caroga/commentoplusplus:v1.8.7
ports:
- "8080"
environment:
- COMMENTO_ORIGIN=${COMMENTO_ORIGIN}
- COMMENTO_POSTGRES=${COMMENTO_POSTGRES}
- COMMENTO_ENABLE_WILDCARDS=true
depends_on:
- postgres
postgres:
image: postgres:11
environment:
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
- POSTGRES_DB=${POSTGRES_DB}
- POSTGRES_USER=${POSTGRES_USER}
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,17 @@
[variables]
DOMAIN = "${domain}"
POSTGRES_PASSWORD = "${password:16}"
[config]
[[config.domains]]
serviceName = "commentoplusplus"
port = 8080
host = "${DOMAIN}"
[config.env]
COMMENTO_ORIGIN = "http://${DOMAIN}"
COMMENTO_POSTGRES = "postgres://postgres:${POSTGRES_PASSWORD}@postgres:5432/postgres?sslmode=disable"
COMMENTO_ENABLE_WILDCARDS = "true"
POSTGRES_PASSWORD = "${POSTGRES_PASSWORD}"
POSTGRES_DB = "postgres"
POSTGRES_USER = "postgres"