This repository has been archived on 2025-07-31. You can view files and clone it, but cannot push or open issues or pull requests.
Files
jupiter-compose/commento/docker-compose.yml
2023-05-25 00:34:44 +01:00

40 lines
1.2 KiB
YAML

version: '3.9'
services:
commento:
image: caroga/commentoplusplus
restart: unless-stopped
environment:
COMMENTO_ORIGIN: https://blog.karaolidis.com/comments/
COMMENTO_CDN_PREFIX: https://blog.karaolidis.com/comments/
COMMENTO_PORT: 8080
COMMENTO_POSTGRES: postgres://postgres:postgres@db:5432/commento?sslmode=disable
COMMENTO_SMTP_HOST: ${SMTP_HOST}
COMMENTO_SMTP_PORT: ${SMTP_PORT}
COMMENTO_SMTP_USERNAME: ${SMTP_USER}
COMMENTO_SMTP_PASSWORD: ${SMTP_PASSWORD}
COMMENTO_SMTP_FROM_ADDRESS: ${SMTP_FROM}
USE_STARTTLS: true
COMMENTO_FORBID_NEW_OWNERS: true
networks:
- default
- routing
depends_on:
- db
db:
image: postgres:13.4
restart: unless-stopped
environment:
POSTGRES_DB: commento
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
volumes:
- /home/nick/configs/commento:/var/lib/postgresql/data
user: 1000:1000
networks:
routing:
external: true
name: routing