fix ghost

This commit is contained in:
Didier Slof 2022-12-31 15:34:57 +01:00
parent 8da39438a0
commit 821464256e
Signed by: didier
GPG key ID: 01E71F18AA4398E5

View file

@ -22,8 +22,10 @@ services:
networks: networks:
- proxy - proxy
blog: ghost:
image: ghost:5.26.3-alpine image: ghost:5.26.3-alpine
links:
- ghost_db
environment: environment:
- database__client=mysql - database__client=mysql
- database__connection__host=ghost_db - database__connection__host=ghost_db
@ -31,9 +33,12 @@ services:
- database__connection__password=i_dont_touch_the_internet - database__connection__password=i_dont_touch_the_internet
- database__connection__database=ghost - database__connection__database=ghost
- url=https://blog.faulty.nl - url=https://blog.faulty.nl
# blog net blow
- LETSENCRYPT_HOST=blog.faulty.nl - LETSENCRYPT_HOST=blog.faulty.nl
- VIRTUAL_HOST=blog.faulty.nl - VIRTUAL_HOST=blog.faulty.nl
- VIRTUAL_PORT=2368 - VIRTUAL_PORT=2368
volumes:
- /srv/ghost/data:/var/lib/ghost/content
networks: networks:
- proxy - proxy
- default - default
@ -43,5 +48,5 @@ services:
restart: always restart: always
environment: environment:
MYSQL_ROOT_PASSWORD: i_dont_touch_the_internet MYSQL_ROOT_PASSWORD: i_dont_touch_the_internet
networks: volumes:
- default - /srv/ghost/other/db:/var/lib/mysql