forked from mendersoftware/workflows
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
47 lines (43 loc) · 881 Bytes
/
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
version: '2.1'
services:
mongodb:
image: 'bitnami/mongodb:4.4'
ports:
- "27017:27017"
volumes:
- ./data/mongodb:/opt/mongodb
networks:
mender:
aliases:
- mender-mongo
nats:
image: nats:2.6.5-alpine3.14
command: -js -sd /opt/nats
ports:
- "4222:4222"
volumes:
- ./data/nats:/opt/nats
networks:
mender:
aliases:
- mender-nats
workflows-worker:
build: .
image: mendersoftware/workflows:master
command: worker --automigrate
networks:
mender:
aliases:
- workflows-worker
workflows-server:
build: .
image: mendersoftware/workflows:master
command: server --automigrate
ports:
- "8080:8080"
networks:
mender:
aliases:
- workflows-server
networks:
mender: