forked from armadaproject/armada
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
120 lines (110 loc) · 2.67 KB
/
docker-compose.yaml
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
version: "3.8"
networks:
kind:
external: true
services:
#
# Infrastructure services.
# A Kubernetes cluster (e.g., kind) must also be setup before starting Armada.
#
redis:
container_name: redis
image: redis
ports:
- 6379:6379
networks:
- kind
postgres:
container_name: postgres
image: postgres:12.13-alpine
environment:
- POSTGRES_PASSWORD=psw
ports:
- "5432:5432"
networks:
- kind
pulsar:
image: ${PULSAR_IMAGE:-apachepulsar/pulsar:2.10.0}
container_name: pulsar
volumes:
- ./localdev/pulsar.conf:/conf/pulsar.conf
entrypoint: bin/pulsar standalone
ports:
- 0.0.0.0:6650:6650
networks:
- kind
#
# Armada services.
#
server:
container_name: server
image: ${ARMADA_IMAGE:-gresearch/armada}:${ARMADA_IMAGE_TAG:-latest}
networks:
- kind
ports:
- 50051:50051
- 8080:8080
volumes:
- ./e2e/setup/insecure-armada-auth-config.yaml:/config/insecure-armada-auth-config.yaml
depends_on:
- redis
- postgres
- pulsar
- eventingester
command: ./server --config /config/insecure-armada-auth-config.yaml
executor:
container_name: executor
image: ${ARMADA_IMAGE:-gresearch/armada}:${ARMADA_IMAGE_TAG:-latest}
networks:
- kind
ports:
- 9001:9001
depends_on:
- server
volumes:
- ./e2e/setup/insecure-executor-config.yaml:/config/insecure-executor-config.yaml
- ./.kube/internal:/.kube
environment:
- KUBECONFIG=/.kube/config
command: ./executor --config /config/insecure-executor-config.yaml
binoculars:
container_name: binoculars
image: ${ARMADA_IMAGE:-gresearch/armada}:${ARMADA_IMAGE_TAG:-latest}
networks:
- kind
ports:
- 8082:8082
volumes:
- ./.kube/internal:/.kube
environment:
- KUBECONFIG=/.kube/config
command: ./binoculars
jobservice:
container_name: jobservice
image: ${ARMADA_IMAGE:-gresearch/armada}:${ARMADA_IMAGE_TAG:-latest}
networks:
- kind
ports:
- 60003:60003
depends_on:
- server
command: ./jobservice
lookoutingester:
container_name: lookoutingester
image: ${ARMADA_IMAGE:-gresearch/armada}:${ARMADA_IMAGE_TAG:-latest}
networks:
- kind
depends_on:
- postgres
- pulsar
volumes:
- ./localdev/config:/config
command: ./lookoutingester --config /config/lookoutingester/config.yaml
eventingester:
container_name: eventingester
image: ${ARMADA_IMAGE:-gresearch/armada}:${ARMADA_IMAGE_TAG:-latest}
networks:
- kind
depends_on:
- redis
command: ./eventingester