Add ghost compose
This commit is contained in:
87
ghost/docker-compose.yml
Normal file
87
ghost/docker-compose.yml
Normal file
@@ -0,0 +1,87 @@
|
||||
version: '3.9'
|
||||
|
||||
services:
|
||||
ghost:
|
||||
image: ghost
|
||||
container_name: ghost
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- '/home/nick/configs/ghost/ghost:/var/lib/ghost/content'
|
||||
environment:
|
||||
url: ${URL}
|
||||
networks:
|
||||
- proxy
|
||||
- ghost
|
||||
user: '1000:1000'
|
||||
|
||||
commento:
|
||||
build: https://git.karaolidis.com/Nikas36/commento.git
|
||||
image: commento:custom
|
||||
container_name: commento
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
COMMENTO_ORIGIN: 'https://stats.karaolidis.com/comments/'
|
||||
COMMENTO_PORT: 8080
|
||||
COMMENTO_POSTGRES: postgres://postgres:postgres@commento_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}'
|
||||
COMMENTO_FORBID_NEW_OWNERS: 'true'
|
||||
networks:
|
||||
- proxy
|
||||
- ghost
|
||||
depends_on:
|
||||
- commento_db
|
||||
|
||||
commento_db:
|
||||
image: postgres:13.4
|
||||
container_name: commento_db
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
POSTGRES_DB: commento
|
||||
POSTGRES_USER: postgres
|
||||
POSTGRES_PASSWORD: postgres
|
||||
volumes:
|
||||
- '/home/nick/configs/ghost/commento:/var/lib/postgresql/data'
|
||||
networks:
|
||||
- ghost
|
||||
user: '1000:1000'
|
||||
|
||||
umami:
|
||||
build: https://git.karaolidis.com/Nikas36/umami.git
|
||||
image: umami:custom
|
||||
container_name: umami
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
DATABASE_URL: postgresql://umami:umami@umami_db:5432/umami
|
||||
DATABASE_TYPE: postgresql
|
||||
HASH_SALT: ${SALT}
|
||||
depends_on:
|
||||
- umami_db
|
||||
networks:
|
||||
- proxy
|
||||
- ghost
|
||||
|
||||
umami_db:
|
||||
image: postgres:13.4
|
||||
container_name: umami_db
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
POSTGRES_DB: umami
|
||||
POSTGRES_USER: umami
|
||||
POSTGRES_PASSWORD: umami
|
||||
volumes:
|
||||
- '/home/nick/configs/ghost/umami/schema.postgresql.sql:/docker-entrypoint-initdb.d/schema.postgresql.sql:ro'
|
||||
- '/home/nick/configs/ghost/umami/data:/var/lib/postgresql/data'
|
||||
networks:
|
||||
- ghost
|
||||
user: '1000:1000'
|
||||
|
||||
networks:
|
||||
proxy:
|
||||
external: true
|
||||
name: proxy
|
||||
ghost:
|
||||
name: ghost
|
Reference in New Issue
Block a user