Files
ansible/roles/docker/templates/ghost-1-compose.yml.j2
Phil 01d959d12c feat: enable automatic updates for ghost-1 container
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>
2025-06-24 11:13:51 -06:00

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 }}