oliverbooth.dev/docker-compose.yml

64 lines
1.5 KiB
YAML
Raw Normal View History

2023-08-04 01:30:13 +01:00
version: '3.9'
services:
oliverbooth:
container_name: oliverbooth.dev
pull_policy: build
2023-08-13 16:38:56 +01:00
build:
context: .
dockerfile: OliverBooth/Dockerfile
2023-08-04 01:30:13 +01:00
volumes:
- type: bind
source: /var/log/oliverbooth/site
target: /app/logs
- type: bind
source: /etc/oliverbooth/site
target: /app/data
2023-08-13 16:38:56 +01:00
ports:
- "2845:2845"
2023-08-04 01:30:13 +01:00
restart: always
environment:
- SSL_CERT_PATH=${SSL_CERT_PATH}
- SSL_KEY_PATH=${SSL_KEY_PATH}
2024-02-23 03:23:57 +00:00
- MASTODON_TOKEN=${MASTODON_TOKEN}
- MASTODON_ACCOUNT=${MASTODON_ACCOUNT}
oliverbooth_api:
container_name: api.oliverbooth.dev
pull_policy: build
build:
context: .
dockerfile: OliverBooth.Api/Dockerfile
volumes:
- type: bind
source: /var/log/oliverbooth/api
target: /app/logs
- type: bind
source: /etc/oliverbooth/api
target: /app/data
ports:
- "2844:2844"
restart: always
environment:
- SSL_CERT_PATH=${API_SSL_CERT_PATH}
- SSL_KEY_PATH=${API_SSL_KEY_PATH}
oliverbooth_admin:
container_name: admin.oliverbooth.dev
pull_policy: build
build:
context: .
dockerfile: OliverBooth.Admin/Dockerfile
volumes:
- type: bind
source: /var/log/oliverbooth/admin
target: /app/logs
- type: bind
source: /etc/oliverbooth/admin
target: /app/data
ports:
- "2843:2843"
restart: always
environment:
- SSL_CERT_PATH=${ADMIN_SSL_CERT_PATH}
- SSL_KEY_PATH=${ADMIN_SSL_KEY_PATH}