docker compose template für havelwerk hinzugefügt

This commit is contained in:
bmen 2023-02-20 22:11:59 +00:00
parent 598742b09a
commit d03e5c9c0f
1 changed files with 22 additions and 0 deletions

22
docker-compose.yml.j2 Normal file
View File

@ -0,0 +1,22 @@
networks:
default:
proxynet:
external: true
services:
ghost:
image: "ghost:{{ ghost.release }}"
container_name: ghost
restart: "unless-stopped"
environment:
url: "{{ havelwerk.ghost.url }}"
-e NODE_ENV=development \
-e database__connection__filename='/var/lib/ghost/content/data/ghost.db' \
networks:
default:
proxynet:
aliases:
- ghost
volumes:
- "/home/docker/data/{{ havelwerk.ghost.name }}/content:/var/lib/ghost/content"