oliverbooth.dev/docker-compose.yml
Oliver Booth 0a9c2e82d5
refactor: combine sites into one
CORS was "cors"ing some issues (heh).

But also it is easier to maintain this way. Development was made much more difficult when I separated it. Combining it all also improves SEO
2023-08-13 17:34:38 +01:00

22 lines
495 B
YAML

version: '3.9'
services:
oliverbooth:
container_name: oliverbooth.dev
pull_policy: build
build:
context: .
dockerfile: OliverBooth/Dockerfile
volumes:
- type: bind
source: /var/log/oliverbooth/site
target: /app/logs
- type: bind
source: /etc/oliverbooth/site
target: /app/data
ports:
- "2845:2845"
restart: always
environment:
- SSL_CERT_PATH=${SSL_CERT_PATH}
- SSL_KEY_PATH=${SSL_KEY_PATH}