-
Notifications
You must be signed in to change notification settings - Fork 8
/
docker-compose.yml
81 lines (75 loc) · 2.05 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
version: "3.3"
services:
db:
container_name: db
image: mysql:5.7
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: athena
MYSQL_USER: athena
MYSQL_PASSWORD: athena
networks:
- athena
ports:
- "3306:3306"
restart: always
athena-monitor:
container_name: athena-monitor
image: athena/athena-monitor:${BRANCH:-main}
volumes:
- ./creds-athena.yaml:/etc/athena/main.yaml
- ./athena-monitor.yaml:/etc/athena/monitor.yaml
- ./athena-monitor-directories.yaml:/etc/athena/monitor-directories.yaml
- ./tmp:/tmp/athena
environment:
http_proxy: ${http_proxy}
https_proxy: ${https_proxy}
no_proxy: ${no_proxy}
command: /athena-monitor --config /etc/athena/main.yaml --config /etc/athena/monitor.yaml --config /etc/athena/monitor-directories.yaml --log.level=debug
depends_on:
- nats-streaming
- db
networks:
- athena
restart: always
athena-processor:
container_name: athena-processor
image: athena/athena-processor:${BRANCH:-main}
volumes:
- ./creds-athena.yaml:/etc/athena/main.yaml
- ./athena-processor.yaml:/etc/athena/processor.yaml
- ./athena-processor-upload.yaml:/etc/athena/processor-upload.yaml
- ./tmp:/tmp/athena
environment:
http_proxy: ${http_proxy}
https_proxy: ${https_proxy}
no_proxy: ${no_proxy}
command: /athena-processor --config /etc/athena/main.yaml --config /etc/athena/processor.yaml --config /etc/athena/processor-upload.yaml --log.level="debug"
depends_on:
- nats-streaming
- db
networks:
- athena
restart: always
nats-streaming:
container_name: nats-streaming
image: nats-streaming
ports:
- '4222:4222'
- '8223:8223'
- 4222
environment:
- file
networks:
- athena
restart: always
debug:
container_name: debug
image: debug-container
command: /bin/bash -c 'sleep 10000'
networks:
- athena
restart: always
networks:
athena:
driver: bridge