Initial commit: 23 docker stacks for GitOps deployment
Stacks included:
- Infrastructure: traefik, authentik, gitea, registry, watchtower, dockge
- Monitoring: smokeping, changedetection
- Apps: ghost, gollum, wallabag, radicale, invidious, xbackbone, filebrowser, syncthing, zerotier
- Custom: obsidian-tools, memento, perilous, ramz, bookclub, brain
🤖 Generated with Claude Code
This commit is contained in:
37
stacks/ghost/docker-compose.yml
Normal file
37
stacks/ghost/docker-compose.yml
Normal file
@@ -0,0 +1,37 @@
|
||||
services:
|
||||
ghost:
|
||||
image: ghost:4-alpine
|
||||
container_name: ghost
|
||||
restart: unless-stopped
|
||||
expose:
|
||||
- 2368
|
||||
networks:
|
||||
- web
|
||||
- default
|
||||
environment:
|
||||
database__client: mysql
|
||||
database__connection__host: db
|
||||
database__connection__user: root
|
||||
database__connection__password: ${GHOST_DB_PASSWORD}
|
||||
database__connection__database: ghost
|
||||
url: https://ghost.${DOMAIN}
|
||||
volumes:
|
||||
- ./content:/var/lib/ghost/content
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.ghost.entrypoints=https"
|
||||
- "traefik.http.routers.ghost.rule=Host(`ghost.${DOMAIN}`)"
|
||||
- "traefik.http.routers.ghost.tls.certresolver=http"
|
||||
|
||||
db:
|
||||
image: mysql:5.7
|
||||
container_name: ghost-db
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: ${GHOST_DB_PASSWORD}
|
||||
volumes:
|
||||
- ./mysql:/var/lib/mysql
|
||||
|
||||
networks:
|
||||
web:
|
||||
external: true
|
||||
Reference in New Issue
Block a user