-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
113 lines (113 loc) · 2.59 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
version: "3"
services:
launcher:
restart: always
image: git.sia-partners.com:5656/heka/core/launcher:2
entrypoint: bash
command:
- /heka/conf/bootstrap_launcher.sh
volumes:
- ./conf:/heka/conf
- /var/run/docker.sock:/var/run/docker.sock
networks:
platform_network:
aliases:
- launcher-svc
c13s:
restart: always
build:
context: ./heka/c13s
args:
CI_REGISTRY: git.sia-partners.com:5656
entrypoint: bash
command:
- /heka/conf/bootstrap_c13s.sh
volumes:
- ./heka/c13s/src:/heka/c13s/src
- ./conf:/heka/conf
networks:
platform_network:
aliases:
- c13s-svc
a12n:
restart: always
image: git.sia-partners.com:5656/heka/core/a12n:2
entrypoint: bash
command:
- /heka/conf/bootstrap_a12n.sh
volumes:
- ./conf:/heka/conf
environment:
- HEKA_SERVICE_PREFIX=""
networks:
platform_network:
aliases:
- a12n-svc
scheduler:
restart: always
image: git.sia-partners.com:5656/heka/core/scheduler:2
entrypoint: bash
command:
- /heka/conf/bootstrap_scheduler.sh
volumes:
- ./conf:/heka/conf
networks:
platform_network:
aliases:
- scheduler-svc
admin:
restart: always
image: git.sia-partners.com:5656/heka/core/admin:1
entrypoint: bash
command:
- /heka/conf/bootstrap_admin.sh
volumes:
- ./conf:/heka/conf
networks:
platform_network:
aliases:
- admin-svc
frontend:
restart: always
build: ./heka/frontend
entrypoint: bash
command:
- /heka/conf/bootstrap_frontend.sh
volumes:
- ./heka/frontend/src:/heka/frontend
- ./conf:/heka/conf
- ./volumes/frontend/storage:/heka/storage
networks:
platform_network:
aliases:
- frontend-svc
tasks:
image: git.sia-partners.com:5656/heka/tools/build-tasks:1
environment:
- CI_REGISTRY=git.sia-partners.com:5656
- ENABLED=True
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- .git:/repo/.git
- ./heka/tasks:/tasks
nginx:
image: git.sia-partners.com:5656/heka/tools/nginx-yq:1
entrypoint: bash
command:
- /opt/app/conf/bootstrap_nginx.sh
volumes:
- ./conf:/opt/app/conf
ports:
- 80:80
networks:
platform_network:
aliases:
- nginx-svc
- lab.localhost
- heka.localhost
- heka-dev.localhost
depends_on:
- frontend
networks:
platform_network:
driver: bridge