mirror of
https://github.com/aykhans/my-self-host-services.git
synced 2026-10-17 12:33:53 +00:00
add watchtower
This commit is contained in:
1 parent
905fa852a5
commit
57f4fbe9f3
15 files changed
+305
-258
No files matched your search
+30
-28
@@ -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