diff --git a/docker-compose.web.yml b/docker-compose.web.yml index 8f7693d..ed2cc0e 100644 --- a/docker-compose.web.yml +++ b/docker-compose.web.yml @@ -22,8 +22,10 @@ services: networks: - proxy - blog: + ghost: image: ghost:5.26.3-alpine + links: + - ghost_db environment: - database__client=mysql - database__connection__host=ghost_db @@ -31,9 +33,12 @@ services: - database__connection__password=i_dont_touch_the_internet - database__connection__database=ghost - url=https://blog.faulty.nl + # blog net blow - LETSENCRYPT_HOST=blog.faulty.nl - VIRTUAL_HOST=blog.faulty.nl - VIRTUAL_PORT=2368 + volumes: + - /srv/ghost/data:/var/lib/ghost/content networks: - proxy - default @@ -43,5 +48,5 @@ services: restart: always environment: MYSQL_ROOT_PASSWORD: i_dont_touch_the_internet - networks: - - default \ No newline at end of file + volumes: + - /srv/ghost/other/db:/var/lib/mysql \ No newline at end of file