-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.debug.yml
67 lines (62 loc) · 1.41 KB
/
docker-compose.debug.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
services:
postgres:
image: postgres
ports:
- 5432:5432
environment:
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
volumes:
- ./postgres:/var/lib/postgresql/data
restart: always
s3:
image: quay.io/minio/minio
command: server /data --console-address ":9001"
ports:
- 9000:9000
- 9001:9001
environment:
- MINIO_ROOT_USER=${MINIO_ROOT_USER}
- MINIO_ROOT_PASSWORD=${MINIO_ROOT_PASSWORD}
volumes:
- ./s3:/data
- ./etc/openssl:/root/.minio/certs
restart: always
redis:
image: redis
ports:
- 6379:6379
restart: always
rexmit:
depends_on:
- postgres
- s3
build:
context: .
dockerfile: rexmit.debug.Dockerfile
target: final-rexmit
ports:
- 5000:5000
environment:
- POSTGRES_URL=${POSTGRES_URL}
- REDIS_URL=${REDIS_URL}
- DISCORD_CLIENTID=${DISCORD_CLIENTID}
- DISCORD_CLIENTSECRET=${DISCORD_CLIENTSECRET}
- DISCORD_TOKEN=${DISCORD_TOKEN}
- GPT_SECRET=${GPT_SECRET}
- S3_ACCESS_KEY_ID=${S3_ACCESS_KEY_ID}
- S3_ACCESS_KEY_SECRET=${S3_ACCESS_KEY_SECRET}
- S3_ENDPOINT=${S3_ENDPOINT}
restart: always
nginx:
depends_on:
- rexmit
- s3
build:
context: .
dockerfile: nginx.debug.Dockerfile
ports:
- 80:80
- 443:443
volumes:
- ./etc/openssl:/etc/ssl
restart: always