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 domain and PostgreSQL configuration. - Added logo for Commento. - Created template.toml for Commento with default variables for configuration.
This commit is contained in:
parent
984bf1deb8
commit
3e2083df18
22
blueprints/commento/docker-compose.yml
Normal file
22
blueprints/commento/docker-compose.yml
Normal 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:
|
BIN
blueprints/commento/logo.png
Normal file
BIN
blueprints/commento/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 7.2 KiB |
14
blueprints/commento/template.toml
Normal file
14
blueprints/commento/template.toml
Normal 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}"
|
Loading…
Reference in New Issue
Block a user