This repository has been archived by the owner on Nov 11, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
102 lines (94 loc) · 2.5 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
version: "3.7"
services:
vault:
image: vault:1.7.3
command: ["vault", "server", "-config=/vault/config"]
ports:
- "8200:8200"
environment:
VAULT_DEV_ROOT_TOKEN_ID: "token"
VAULT_LOCAL_CONFIG: '{"backend": {"file": {"path": "/vault/file"}}, "default_lease_ttl": "168h", "max_lease_ttl": "720h"}'
VAULT_SUPPLEMENTAL_CONFIG: '{"ui":true, "listener": {"tcp":{"address": "0.0.0.0:8200", "tls_disable": 1}}}'
VAULT_ADDR: "http://127.0.0.1:8200"
volumes:
- vault-file-data:/vault/file
- vault-unseal-data:/vault/unseal
- ./devops/local/vault/docker-entrypoint.sh:/usr/local/bin/docker-entrypoint.sh
cap_add:
- IPC_LOCK
redis:
image: redis:latest
ports:
- 6379:6379
command: redis-server --appendonly yes
volumes:
- redis-data:/data
restart: unless-stopped
zookeeper:
image: wurstmeister/zookeeper:latest
ports:
- 2181:2181
volumes:
- zookeeper-data:/opt/zookeeper-3.4.13/data
restart: unless-stopped
kafka:
image: wurstmeister/kafka:latest
ports:
- 9092:9092
environment:
KAFKA_BROKER_ID: 1
KAFKA_ADVERTISED_HOST_NAME: kafka
KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
KAFKA_LOG_DIRS: /kafka/kafka-logs
volumes:
- kafka-data:/kafka
restart: unless-stopped
timescaledb:
image: timescale/timescaledb:2.0.1-pg12
ports:
- 5432:5432
environment:
POSTGRES_USER: "PG_USER"
POSTGRES_PASSWORD: "PG_PASS"
POSTGRES_DB: "fortify"
volumes:
- timescale-data:/var/lib/postgresql/data
restart: unless-stopped
akhq:
image: tchiotludo/akhq:latest
environment:
AKHQ_CONFIGURATION: >
akhq:
connections:
kafka-cluster-kafka-bootstrap:
properties:
bootstrap.servers: "kafka:9092"
ports:
- 8082:8080
restart: unless-stopped
kowl:
image: quay.io/cloudhut/kowl:v1.2.2
restart: on-failure
hostname: kowl
volumes:
- ./devops/local/kowl/config.yaml:/etc/kowl/config.yaml
ports:
- "8083:8080"
entrypoint: ./kowl --config.filepath=/etc/kowl/config.yaml
depends_on:
- kafka
redis-commander:
hostname: redis-commander
image: rediscommander/redis-commander:latest
environment:
- REDIS_HOSTS=local:redis:6379
ports:
- "8081:8081"
restart: unless-stopped
volumes:
redis-data:
kafka-data:
zookeeper-data:
timescale-data:
vault-file-data:
vault-unseal-data: