mirror of
https://github.com/aykhans/my-self-host-services.git
synced 2025-11-29 16:09:49 +00:00
add watchtower
This commit is contained in:
@@ -1,31 +1,33 @@
|
||||
networks:
|
||||
caddy:
|
||||
name: caddy
|
||||
driver: bridge
|
||||
external: true
|
||||
caddy:
|
||||
name: caddy
|
||||
driver: bridge
|
||||
external: true
|
||||
|
||||
services:
|
||||
ghost:
|
||||
image: ghost:6-alpine
|
||||
container_name: ghost
|
||||
restart: unless-stopped
|
||||
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
|
||||
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