forked from jaluebbe/SwimConsumer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
40 lines (36 loc) · 892 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
version: '3'
services:
redis:
restart: always
image: redis:alpine
entrypoint: redis-server --save "" --appendonly no
swim-consumer:
restart: always
image: swim-consumer
build: ./swim_consumer/
volumes:
- $PWD/swim_consumer.conf:/app/swim_consumer.conf:ro
depends_on:
- redis
swim-data-processor:
restart: always
image: swim-data-processor
build: ./swim_data_processor/
depends_on:
- redis
swim-arrival-processor:
restart: always
image: swim-arrival-processor
build: ./swim_arrival_processor/
volumes:
- $PWD/mysql_params.json:/app/mysql_params.json:ro
depends_on:
- redis
swim-consumer-watchdog:
restart: always
image: swim-consumer-watchdog
build: ./swim_consumer_watchdog/
volumes:
- /var/run/docker.sock:/var/run/docker.sock
depends_on:
- redis