-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
43 lines (40 loc) · 1 KB
/
docker-compose.yml
File metadata and controls
43 lines (40 loc) · 1 KB
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
version: '2'
services:
log-listener:
image: log-listener
build:
context: .
command: python3 /opt/zoe-logger/zoe-logger.py
environment:
- ZOE_LOGGER_DEBUG=true
- ZOE_LOGGER_KAFKA-BROKER=192.168.45.252:9092
ports:
- 12201:12201/udp
restart: always
log-producer:
image: log-producer
build:
context: .
command: python3 /opt/zoe-logger/pq-consumer.py
restart: always
environment:
- PQ_CONSUMER_DEBUG=true
- PQ_CONSUMER_KAFKA-BROKER=192.168.45.252:9092
- PQ_CONSUMER_DB_NAME=docker_logs
- PQ_CONSUMER_DB_USER=postgres
- PQ_CONSUMER_DB_PASS=postgres
- PQ_CONSUMER_DB_HOST=192.168.45.252
log-web:
image: log-web
build:
context: .
command: python3 /opt/zoe-logger/web.py
restart: always
environment:
- ZOE_WEB_DEBUG=true
- ZOE_WEB_DB_NAME=docker_logs
- ZOE_WEB_DB_HOST=192.168.45.252
- ZOE_WEB_DB_USER=postgres
- ZOE_WEB_DB_PASS=postgres
ports:
- 6577:6577