-
-
Notifications
You must be signed in to change notification settings - Fork 63
/
docker-compose.yml
88 lines (81 loc) · 1.57 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
services:
amqp:
image: rabbitmq:3.10.8-alpine
networks:
backend:
aliases:
- amqp
ports:
- "5672:5672"
db:
environment:
POSTGRES_USER: exodus
POSTGRES_PASSWORD: exodus
POSTGRES_DB: exodus
PGDATA: /var/lib/postgresql/data/pgdata
image: postgres:15
restart: always
networks:
backend:
aliases:
- db
ports:
- "5432:5432"
volumes:
- db:/var/lib/postgresql/data/pgdata
exodus-front:
build:
context: ./
dockerfile: ./docker/Dockerfile
depends_on:
- minio
- db
- amqp
- exodus-worker
env_file: .env
networks:
backend:
aliases:
- exodus
ports:
- "80:8000"
user: ${uid}
volumes:
- ./exodus:/exodus/exodus:rw,cached
exodus-worker:
build:
context: ./
dockerfile: ./docker/Dockerfile
command: [ "start-worker" ]
depends_on:
- minio
- db
- amqp
env_file: .env
networks:
backend:
aliases:
- exodus-worker
user: ${uid}
volumes:
- ./exodus:/exodus/exodus:rw,cached
minio:
command: ["minio", "server", "/data", "--console-address", ":9001"]
environment:
MINIO_ROOT_USER: exodusexodus
MINIO_ROOT_PASSWORD: exodusexodus
image: minio/minio:RELEASE.2024-05-10T01-41-38Z
networks:
backend:
aliases:
- minio
ports:
- "9000:9000"
- "9001:9001"
volumes:
- minio:/data
networks:
backend:
volumes:
minio:
db: