-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
53 lines (50 loc) · 1.02 KB
/
docker-compose.yml
File metadata and controls
53 lines (50 loc) · 1.02 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
services:
pg:
container_name: pg
image: postgres:17.0
restart: always
env_file:
- .env
ports:
- "5432:5432"
volumes:
- ./migrations/pg/up:/docker-entrypoint-initdb.d
clickhouse:
container_name: clickhouse-server
image: clickhouse/clickhouse-server:25.10
ulimits:
nofile:
soft: 262144
hard: 262144
memlock:
soft: -1
hard: -1
ports:
- "8123:8123"
- "9000:9000"
env_file:
- .env
volumes:
- ./migrations/clickhouse/up:/docker-entrypoint-initdb.d
- clickhouse-data:/var/lib/clickhouse
log-service:
container_name: log-service
env_file:
- .env
build:
context: .
dockerfile: Dockerfile
ports:
- "${SERVER_PORT}:${SERVER_PORT}"
- "${GRPC_PORT}:${GRPC_PORT}"
ulimits:
nofile:
soft: 65536
hard: 65536
depends_on:
- pg
- clickhouse
volumes:
- ./keys.toml:/usr/local/bin/keys.toml:ro
volumes:
clickhouse-data: