-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
59 lines (55 loc) · 1.29 KB
/
Copy pathdocker-compose.yaml
File metadata and controls
59 lines (55 loc) · 1.29 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
volumes:
postgres-data-norm:
mysql-data-norm:
clickhouse-data-norm:
services:
postgres-norm:
container_name: postgres-norm
image: postgres:15
env_file: .env
volumes:
- postgres-data-norm:/var/lib/postgresql/data
restart: always
ports:
- "${POSTGRES_PORT:-5432}:5432"
networks:
- norm-network
mysql-norm:
container_name: mysql-norm
image: mysql:8
env_file: .env
environment:
MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD}
MYSQL_DATABASE: ${MYSQL_DATABASE}
MYSQL_PASSWORD: ${MYSQL_PASSWORD}
volumes:
- mysql-data-norm:/var/lib/mysql
restart: always
ports:
- "${MYSQL_PORT:-3306}:3306"
networks:
- norm-network
healthcheck:
test: ["CMD", "mysqladmin", "ping", "-h", "localhost"]
interval: 5s
timeout: 5s
retries: 10
clickhouse-norm:
container_name: clickhouse-norm
image: clickhouse/clickhouse-server:24.8
env_file: .env
volumes:
- clickhouse-data-norm:/var/lib/clickhouse
restart: always
ports:
- "${CLICKHOUSE_PORT:-9000}:9000"
- "${CLICKHOUSE_HTTP_PORT:-8123}:8123"
networks:
- norm-network
ulimits:
nofile:
soft: 262144
hard: 262144
networks:
norm-network:
name: norm-network