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 volumes: ghost: driver: local networks: default: external: true name: {{ docker.network_name }}