mirror of
https://github.com/Dokploy/templates
synced 2025-06-26 18:16:07 +00:00
- 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.
22 lines
445 B
YAML
22 lines
445 B
YAML
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: |