-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathdocker-compose.yml
96 lines (91 loc) · 2.22 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
89
90
91
92
93
94
95
96
services:
orion_db:
container_name: orion_db
hostname: orion_db
image: postgres:14
restart: unless-stopped
environment:
POSTGRES_DB: squid
POSTGRES_PASSWORD: squid
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
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_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}
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