Reformat compose files
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
@@ -1,39 +1,37 @@
|
||||
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
|
||||
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/db:/var/lib/postgresql/data
|
||||
user: 1000:1000
|
||||
db:
|
||||
image: postgres:13.4
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- POSTGRES_DB=commento
|
||||
- POSTGRES_USER=postgres
|
||||
- POSTGRES_PASSWORD=postgres
|
||||
volumes:
|
||||
- /home/nick/configs/commento/db:/var/lib/postgresql/data
|
||||
user: 1000:1000
|
||||
|
||||
networks:
|
||||
routing:
|
||||
external: true
|
||||
name: routing
|
||||
routing:
|
||||
external: true
|
||||
name: routing
|
||||
|
Reference in New Issue
Block a user