forked from bitshares/bitshares-explorer-api
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
66 lines (60 loc) · 1.15 KB
/
Copy pathdocker-compose.yml
File metadata and controls
66 lines (60 loc) · 1.15 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
version: '3'
networks:
private:
internal: true
internet:
internal: false
volumes:
db-data:
services:
db:
build: ./postgres
hostname: postgres
environment:
- POSTGRES_DB=explorer
- POSTGRES_USER=explorer
- POSTGRES_PASSWORD=posta
volumes:
- db-data:/var/lib/postgresql/data
networks:
- private
web:
hostname: api
image: bitshares-explorer
build: .
command: uwsgi --ini uwsgi.ini
depends_on:
- db
env_file:
- explorer_config.env
expose:
- "5000"
ports:
- "5000:5000"
networks:
- private
- internet
scheduler:
hostname: scheduler
image: bitshares-explorer
build: .
command: /explorer/postgres/scheduler.py
depends_on:
- db
env_file:
- explorer_config.env
networks:
- private
- internet
realtime-importer:
hostname: realtime_importer
image: bitshares-explorer
build: .
command: /usr/bin/env python /explorer/postgres/import_realtime_ops.py
depends_on:
- db
env_file:
- explorer_config.env
networks:
- private
- internet