-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
38 lines (37 loc) · 804 Bytes
/
docker-compose.yml
File metadata and controls
38 lines (37 loc) · 804 Bytes
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
version: "3"
services:
postgres:
image: postgres:14.2-alpine
environment:
- POSTGRES_PASSWORD=postgres
- PGDATA=/var/lib/postgresql/data/pgdata
volumes:
- /var/lib/postgresql/data/pgdata
modmail:
build: .
restart: always
ports:
- "3001:80"
links:
- postgres
volumes:
- /app
networks:
- attachments
modmail-attachments:
image: ghcr.io/fg-devs/attachment-service:latest
restart: always
environment:
- GRPC_PORT=59001
- HTTP_PORT=8420
- CDN_URI=https://cdn.modmail.pewdiemc.com/
- RUST_LOG=info,tower_http=debug%
ports:
- 59001:59001
- 8420:8420
volumes:
- modmail-attachment-files:/app/files
networks:
- attachments
networks:
attachments: