-
-
Notifications
You must be signed in to change notification settings - Fork 57
/
docker-compose.yml
94 lines (92 loc) · 2.13 KB
/
docker-compose.yml
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
version: "3.7"
services:
# Create the reverse proxy to route requests and handle ssl/tsl
nginx-proxy:
image: ghcr.io/linuxserver/swag
restart: always
cap_add:
- NET_ADMIN
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/London
- URL=clembot.io
- VALIDATION=http
- EMAIL=jaymaddencox@gmail.com
- SUBDOMAINS=www,logs
- STAGING=false
volumes:
- swag-config:/config
ports:
- 443:443
- 80:80
networks:
- nginx-proxy
# Create the api
clembot.api:
restart: always
image: ghcr.io/clembotproject/clembot.api:master
restart: always
networks:
- clembot-network
- nginx-proxy
env_file:
- ClemBot.Api/ClemBot.Api_env.env
seq:
image: datalust/seq:latest
environment:
ACCEPT_EULA: Y
SEQ_FIRSTRUN_ADMINUSERNAME: ${SEQ_FIRSTRUN_ADMINUSERNAME}
SEQ_FIRSTRUN_ADMINPASSWORDHASH: ${SEQ_FIRSTRUN_ADMINPASSWORDHASH}
restart: unless-stopped
depends_on:
- nginx-proxy
- clembot.api
networks:
- clembot-network
- nginx-proxy
volumes:
- seq-data:/data
# Create the python eval container for sandboxed python code execution
snekbox:
image: ghcr.io/python-discord/snekbox:latest
init: true
restart: always
ipc: none
depends_on:
- nginx-proxy
networks:
- clembot-network
privileged: true
# Create the Bot process to server as the dapi frontend
clembot.bot:
image: ghcr.io/clembotproject/clembot.bot:master
restart: always
user: root
depends_on:
- nginx-proxy
- clembot.api
networks:
- clembot-network
env_file:
- ClemBot.Bot/ClemBot.Bot_env.env
volumes:
- ~/Logs:/ClemBot.Bot/Logs
# Create the Site process to serve user requests
clembot.site:
image: ghcr.io/clembotproject/clembot.site:master
restart: always
depends_on:
- nginx-proxy
- clembot.api
networks:
- clembot-network
- nginx-proxy
env_file:
- ClemBot.Site/ClemBot.Site_env.env
volumes:
swag-config:
seq-data:
networks:
clembot-network:
nginx-proxy: