forked from gemwalletcom/core
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
106 lines (96 loc) · 2.1 KB
/
docker-compose.yml
File metadata and controls
106 lines (96 loc) · 2.1 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
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
95
96
97
98
99
100
101
102
103
104
105
106
services:
app_build:
image: app
container_name: app_build
build:
context: .
dockerfile: Dockerfile
api:
image: app
container_name: api
environment:
ROCKET_ADDRESS: 0.0.0.0
ROCKET_PORT: 8000
BINARY: api
REDIS_URL: "redis://default:@redis:6379"
POSTGRES_URL: "postgres://username:password@postgres/api"
ports:
- "8000:8000"
restart: always
depends_on:
- app_build
- redis
- postgres
setup:
image: app
container_name: setup
environment:
BINARY: setup
REDIS_URL: "redis://default:@redis:6379"
POSTGRES_URL: "postgres://username:password@postgres/api"
depends_on:
- app_build
- redis
- postgres
daemon:
image: app
container_name: daemon
environment:
BINARY: daemon
REDIS_URL: "redis://default:@redis:6379"
POSTGRES_URL: "postgres://username:password@postgres/api"
depends_on:
- app_build
- setup
- redis
- postgres
parser:
image: app
container_name: parser
environment:
BINARY: parser
POSTGRES_URL: "postgres://username:password@postgres/api"
depends_on:
- app_build
- setup
- postgres
redis:
image: redis:7.0-alpine
container_name: redis
restart: always
ports:
- 6379:6379
postgres:
image: postgres:latest
container_name: postgres
ports:
- 5432:5432
restart: always
environment:
POSTGRES_USER: username
POSTGRES_PASSWORD: password
POSTGRES_DB: api
rabbitmq:
image: rabbitmq:4-management
container_name: rabbitmq
restart: unless-stopped
ports:
- 5672:5672
- 15672:15672
environment:
RABBITMQ_DEFAULT_USER: username
RABBITMQ_DEFAULT_PASS: password
meilisearch:
image: getmeili/meilisearch:v1.15.0-rc.4
container_name: meilisearch
restart: always
ports:
- 7700:7700
environment:
MEILI_NO_ANALYTICS: true
MEILI_EXPERIMENTAL_ENABLE_METRICS: true
volumes:
- meilisearch:/meili_data
volumes:
postgres:
meilisearch: