Repository navigation
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
132 lines (125 loc) · 3.08 KB
/
Copy pathdocker-compose.yml
File metadata and controls
132 lines (125 loc) · 3.08 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
services:
orion_db:
container_name: orion_db
hostname: orion_db
image: postgres:14
restart: unless-stopped
environment:
POSTGRES_DB: squid
POSTGRES_PASSWORD: squid
logging:
driver: 'local'
options:
max-size: '200m'
max-file: '10'
networks:
- joystream_default
ports:
- '127.0.0.1:${DB_PORT}:${DB_PORT}'
- '[::1]:${DB_PORT}:${DB_PORT}'
command: ['postgres', '-c', 'config_file=/etc/postgresql/postgresql.conf', '-p', '${DB_PORT}']
shm_size: 1g
volumes:
- orion_db_data:/var/lib/postgresql/data
- ./db/postgres.conf:/etc/postgresql/postgresql.conf
orion_processor:
container_name: orion_processor
hostname: orion_processor
image: node:18
restart: unless-stopped
networks:
- joystream_default
env_file:
- .env
- docker.env
environment:
- TYPEORM_SUBSCRIBERS_DIR=lib/mappings/subscribers
ports:
- '127.0.0.1:${PROCESSOR_PROMETHEUS_PORT}:${PROCESSOR_PROMETHEUS_PORT}'
- '[::1]:${PROCESSOR_PROMETHEUS_PORT}:${PROCESSOR_PROMETHEUS_PORT}'
depends_on:
- orion_db
volumes:
- type: bind
source: .
target: /orion
working_dir: /orion
command: ['make', 'process']
orion_relevance-service:
container_name: orion_relevance-service
image: node:18
restart: unless-stopped
networks:
- joystream_default
depends_on:
- orion_rabbitmq
env_file:
- .env
- docker.env
volumes:
- type: bind
source: .
target: /orion
working_dir: /orion
command: ['make', 'relevance-service']
orion_rabbitmq:
container_name: orion_rabbitmq
hostname: orion_rabbitmq
image: rabbitmq:4.1
networks:
- joystream_default
ports:
- '127.0.0.1:${RABBITMQ_PORT}:${RABBITMQ_PORT}'
- '[::1]:${RABBITMQ_PORT}:${RABBITMQ_PORT}'
orion_graphql-server:
container_name: orion_graphql-server
hostname: orion_graphql-server
image: node:18
restart: unless-stopped
networks:
- joystream_default
env_file:
- .env
- docker.env
environment:
- SQD_TRACE=authentication
- OTEL_EXPORTER_OTLP_ENDPOINT=${TELEMETRY_ENDPOINT}
- TYPEORM_SUBSCRIBERS_DIR=lib/server-extension/subscribers
depends_on:
- orion_db
volumes:
- type: bind
source: .
target: /orion
working_dir: /orion
command: ['make', 'serve']
ports:
- '4350:4350'
orion_auth-api:
container_name: orion_auth-api
hostname: orion_auth-api
image: node:18
restart: unless-stopped
networks:
- joystream_default
env_file:
- .env
- docker.env
environment:
- SQD_TRACE=authentication
- OTEL_EXPORTER_OTLP_ENDPOINT=${TELEMETRY_ENDPOINT}
depends_on:
- orion_db
volumes:
- type: bind
source: .
target: /orion
working_dir: /orion
command: ['make', 'serve-auth-api']
ports:
- '${AUTH_API_PORT}:${AUTH_API_PORT}'
volumes:
orion_db_data:
networks:
joystream_default:
external: true