mirror of
https://github.com/Dokploy/templates
synced 2025-06-26 18:16:07 +00:00
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:
parent
3e2083df18
commit
e5075ade82
25
blueprints/commentoplusplus/docker-compose.yml
Normal file
25
blueprints/commentoplusplus/docker-compose.yml
Normal 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:
|
BIN
blueprints/commentoplusplus/logo.png
Normal file
BIN
blueprints/commentoplusplus/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 7.2 KiB |
17
blueprints/commentoplusplus/template.toml
Normal file
17
blueprints/commentoplusplus/template.toml
Normal 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"
|
Loading…
Reference in New Issue
Block a user