version: '2.2' services: faulty-web: build: context: ./custom/faulty-site dockerfile: ./docker/latest.Dockerfile restart: always environment: - VIRTUAL_HOST=faulty.nl - LETSENCRYPT_HOST=faulty.nl networks: - proxy - internal ixvd-web: build: context: ./custom/ixvd-site dockerfile: ./docker/latest.Dockerfile restart: always environment: - VIRTUAL_HOST=ixvd.net - LETSENCRYPT_HOST=ixvd.net networks: - proxy - internal ghost: image: ghost:5.26.3-alpine links: - ghost_db environment: - database__client=mysql - database__connection__host=ghost_db - database__connection__user=root - 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 - internal ghost_db: image: mysql:8.0 restart: always environment: MYSQL_ROOT_PASSWORD: i_dont_touch_the_internet volumes: - /srv/ghost/other/db:/var/lib/mysql networks: - internal