-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.modmail.yml
More file actions
45 lines (43 loc) · 1.02 KB
/
docker-compose.modmail.yml
File metadata and controls
45 lines (43 loc) · 1.02 KB
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
version: '3.7'
services:
modmail-bot:
image: chatsift/modmail:latest
env_file:
- ./.env.modmail
environment:
DATABASE_URL: 'postgresql://user:admin@postgres-old:5432/modmail'
restart: unless-stopped
volumes:
- ./logs/modmail:/usr/modmail/logs
depends_on:
- postgres-old
command:
[
'node',
'--es-module-specifier-resolution=node',
'--enable-source-maps',
'--no-warnings',
'./packages/bot/dist/index.js',
]
modmail-api:
image: chatsift/modmail:latest
env_file:
- ./.env.modmail
environment:
DATABASE_URL: 'postgresql://user:admin@postgres-old:5432/modmail'
PORT: '8080'
expose:
- 8080
restart: unless-stopped
volumes:
- ./logs/modmail:/usr/modmail/logs
depends_on:
- postgres-old
command:
[
'node',
'--es-module-specifier-resolution=node',
'--enable-source-maps',
'--no-warnings',
'./packages/api/dist/index.js',
]