mirror of
https://github.com/aykhans/my-self-host-services.git
synced 2026-01-14 03:41:19 +00:00
docker-compose.yml -> docker-compose.yaml
This commit is contained in:
33
ghost/docker-compose.yaml
Normal file
33
ghost/docker-compose.yaml
Normal file
@@ -0,0 +1,33 @@
|
||||
networks:
|
||||
caddy:
|
||||
name: caddy
|
||||
driver: bridge
|
||||
external: true
|
||||
|
||||
services:
|
||||
ghost:
|
||||
image: ghost:6-alpine
|
||||
container_name: ghost
|
||||
restart: unless-stopped
|
||||
labels:
|
||||
- "com.centurylinklabs.watchtower.enable=true"
|
||||
networks:
|
||||
- caddy
|
||||
environment:
|
||||
# DB
|
||||
database__client: sqlite3
|
||||
database__connection__filename: content/data/ghost.db
|
||||
# App
|
||||
NODE_ENV: production
|
||||
url: ${URL}
|
||||
# Mail
|
||||
mail__options__host: ${MAIL_HOST}
|
||||
mail__options__port: ${MAIL_PORT}
|
||||
mail__options__secure: ${MAIL_SECURE}
|
||||
mail__options__auth__user: ${MAIL_USERNAME}
|
||||
mail__options__auth__pass: ${MAIL_PASSWORD}
|
||||
mail__from: ${MAIL_FROM}
|
||||
mail__options__service: SMTP
|
||||
mail__transport: SMTP
|
||||
volumes:
|
||||
- ./data:/var/lib/ghost/content
|
||||
Reference in New Issue
Block a user