This repository has been archived by the owner on Jul 30, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
compose.yaml
76 lines (67 loc) · 1.53 KB
/
compose.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
version: "3.8"
secrets:
config.ini:
file: ./private/config.ini
ssl-default.crt:
file: ./private/ssl/default.crt
ssl-default.key:
file: ./private/ssl/default.key
ssl-milo.king.com.crt:
file: ./private/ssl/milo.king.com.crt
ssl-milo.king.com.key:
file: ./private/ssl/milo.king.com.key
volumes:
postgres-data:
services:
adminer:
image: docker.io/library/adminer
ports:
- 127.0.0.1:8084:8080
bind9:
build:
context: ./bind9
secrets:
- config.ini
cotr-server:
build: ./cotr-server
secrets:
- config.ini
environment:
CONFIG_PATH: /run/secrets/config.ini
POSTGRES_HOST: postgres
POSTGRES_USER: crash
POSTGRES_PASSWORD: crash3ID6NW
POSTGRES_DATABASE: crash
depends_on:
- postgres
discord-app:
build: ./discord-app
secrets:
- config.ini
environment:
CONFIG_PATH: /run/secrets/config.ini
COTR_SERVER_HOST: cotr-server
dns-over-http:
image: docker.io/satishweb/doh-server
environment:
UPSTREAM_DNS_SERVER: 'udp:bind9:53'
DOH_HTTP_PREFIX: '/dns-query'
nginx:
build: ./nginx
secrets:
- ssl-default.crt
- ssl-default.key
- ssl-milo.king.com.crt
- ssl-milo.king.com.key
ports:
- 80:80
- 443:443
postgres:
image: docker.io/library/postgres
shm_size: 256MB
environment:
POSTGRES_USER: crash
POSTGRES_PASSWORD: crash3ID6NW
POSTGRES_DATABASE: crash
volumes:
- postgres-data:/var/lib/postgresql/data