-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
103 lines (95 loc) · 2.41 KB
/
docker-compose.yml
File metadata and controls
103 lines (95 loc) · 2.41 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
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
103
services:
mongo:
image: mongo:7
container_name: mongo
ports:
- "27017:27017"
volumes:
- ./dev_env/mongo/init.js:/docker-entrypoint-initdb.d/init.js:ro
environment:
MONGO_INITDB_ROOT_USERNAME: ${MONGO_USER}
MONGO_INITDB_ROOT_PASSWORD: ${MONGO_PASS}
networks:
- dev_lab
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.17.10
container_name: elasticsearch
environment:
discovery.type: single-node
xpack.security.enabled: true
ELASTIC_PASSWORD: ${ES_PASS}
ports:
- "9200:9200"
mem_limit: 512m
networks:
- dev_lab
es-init:
image: python:3.11-slim
depends_on:
- elasticsearch
volumes:
- ./dev_env/elasticsearch/init.py:/init.py:ro
env_file:
- ./.env
entrypoint: >
sh -c "pip install --quiet requests python-dotenv && python /init.py"
networks:
- dev_lab
splunk:
image: vivekrsplunk/splunk:9.2.1-78803f08aabb-ef8f72f-arm64-ubuntu-20
container_name: splunk
user: "0:0"
environment:
SPLUNK_START_ARGS: --accept-license
SPLUNK_PASSWORD: ${SPLUNK_PASS}
ports:
- "8000:8000" # Web UI
- "8088:8088" # HEC
- "8089:8089"
volumes:
- ./dev_env/splunk/init_app.sh:/init_app.sh
entrypoint: [ "/bin/bash", "-c", "/init_app.sh & /sbin/entrypoint.sh start-service" ]
networks:
- dev_lab
# both PG and ODBC connector use this data source, this is why dev_env/postgres does not have an init.sql
odbc_db:
image: postgres:15-alpine
container_name: odbc_db
environment:
POSTGRES_USER: ${PSQL_USER}
POSTGRES_PASSWORD: ${PSQL_PASS}
POSTGRES_DB: ${PSQL_DB}
ports:
- "5432:5432"
volumes:
- ./dev_env/odbc/init.sql:/docker-entrypoint-initdb.d/init.sql:ro
networks:
- dev_lab
mysql_db:
image: mysql:latest
environment:
MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD}
MYSQL_DATABASE: ${MYSQL_TARGET_DB}
MYSQL_USER: ${MYSQL_USER}
MYSQL_PASSWORD: ${MYSQL_PASSWORD}
ports:
- "3306:3306"
networks:
- dev_lab
proxy:
image: ubuntu/squid:latest
ports:
- "3128:3128"
networks:
- dev_lab
trino:
image: trinodb/trino:latest
ports:
- "8080:8080"
volumes:
- ./dev_env/etc/catalog:/etc/trino/catalog
networks:
- dev_lab
networks:
dev_lab:
external: true