-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
46 lines (42 loc) · 907 Bytes
/
docker-compose.yml
File metadata and controls
46 lines (42 loc) · 907 Bytes
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
version: '3'
services:
clickhouse:
restart: always
image: clickhouse/clickhouse-server:latest
environment:
CLICKHOUSE_USER: default
CLICKHOUSE_PASSWORD: qwerty123
ports:
- "8123:8123"
- "9000:9000"
expose:
- "8123:8123"
- "9000:9000"
volumes:
- ./data/clickhouse/data:/var/lib/clickhouse
networks:
- bridge_event_network
event:
build:
context: .
dockerfile: Dockerfile
ports:
- "8080:8080"
restart: always
links:
- "clickhouse:clickhouse"
depends_on:
- clickhouse
environment:
- CLICKHOUSE_HOST=clickhouse
- CLICKHOUSE_PORT=9000
- CLICKHOUSE_PASSWORD=qwerty123
- CLICKHOUSE_USER=default
- CLICKHOUSE_NAME=default
expose:
- 8080:8080
networks:
- bridge_event_network
networks:
bridge_event_network:
driver: bridge