Added dockcheck label to enable automatic container updates for the ghost-1 photo blog service, ensuring it stays current with latest security patches and features. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
27 lines
696 B
Django/Jinja
27 lines
696 B
Django/Jinja
services:
|
|
|
|
ghost:
|
|
image: ghost:5-alpine
|
|
restart: unless-stopped
|
|
environment:
|
|
- database__client=sqlite3
|
|
- database__connection__filename=/var/lib/ghost/content/data/ghost.db
|
|
- database__useNullAsDefault=true
|
|
- url=https://{{ subdomains.phlog }}
|
|
volumes:
|
|
- ghost:/var/lib/ghost/content
|
|
extra_hosts:
|
|
- '{{ subdomains.phlog }}:172.20.0.5'
|
|
labels:
|
|
glance.name: Ghost
|
|
glance.icon: si:ghost
|
|
glance.url: https://{{ subdomains.phlog }}/
|
|
glance.description: Photo Blog
|
|
mag37.dockcheck.update: true
|
|
volumes:
|
|
ghost:
|
|
driver: local
|
|
networks:
|
|
default:
|
|
external: true
|
|
name: {{ docker.network_name }} |