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
2022-12-31 15:26:21 +01:00

47 lines
No EOL
1 KiB
YAML

version: '2.2'
services:
web:
build:
context: ./repos/main-site
dockerfile: ./Dockerfile
restart: always
environment:
- VIRTUAL_HOST=faulty.nl
- LETSENCRYPT_HOST=faulty.nl
networks:
- proxy
sh:
build:
context: ./repos/dotfiles
dockerfile: ./lib/Dockerfile
environment:
- LETSENCRYPT_HOST=sh.faulty.nl
- VIRTUAL_HOST=sh.faulty.nl
networks:
- proxy
blog:
image: ghost:5.26.3-alpine
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
- LETSENCRYPT_HOST=blog.faulty.nl
- VIRTUAL_HOST=blog.faulty.nl
- VIRTUAL_PORT=2368
networks:
- proxy
- default
ghost_db:
image: mysql:8.0-alpine
restart: always
environment:
MYSQL_ROOT_PASSWORD: i_dont_touch_the_internet
networks:
- default