This repository has been archived on 2023-05-02. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
neo/docker-compose.web.yml
2023-01-18 20:58:20 +01:00

64 lines
No EOL
1.4 KiB
YAML

version: '2.2'
services:
faulty-web:
build:
context: ./repos/faulty-site
dockerfile: ./docker/latest.Dockerfile
restart: always
environment:
- VIRTUAL_HOST=faulty.nl
- LETSENCRYPT_HOST=faulty.nl
networks:
- proxy
ixvd-web:
build:
context: ./repos/ixvd-site
dockerfile: ./docker/latest.Dockerfile
restart: always
environment:
- VIRTUAL_HOST=ixvd.net
- LETSENCRYPT_HOST=ixvd.net
networks:
- proxy
sh:
build:
context: ./repos/dotfiles
dockerfile: ./lib/Dockerfile
environment:
- LETSENCRYPT_HOST=sh.faulty.nl
- VIRTUAL_HOST=sh.faulty.nl
networks:
- proxy
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
- default
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