generated from antibagr/Any-Python-Template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
59 lines (53 loc) · 1.16 KB
/
docker-compose.yaml
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
version: "3.9"
services:
web:
container_name: web
build:
context: ..
dockerfile: deploy/web/Dockerfile.win
env_file:
- ../.env
volumes:
- ../data:/data
- /var/run/docker.sock:/var/run/docker.sock
depends_on:
- clickhouse
- testssl.sh
networks:
- clickhouse-network
testssl.sh:
container_name: testssl.sh
build:
context: ..
dockerfile: deploy/testssl/Dockerfile
environment:
- MASS_TESTING_MODE=parallel
env_file:
- ../.env
deploy:
resources:
reservations:
cpus: "4"
memory: 4G
clickhouse:
container_name: clickhouse
image: clickhouse/clickhouse-server
environment:
- CLICKHOUSE_DB=${CLICKHOUSE_DB}
- CLICKHOUSE_USER=${CLICKHOUSE_USER}
- CLICKHOUSE_PASSWORD=${CLICKHOUSE_PASSWORD}
- CLICKHOUSE_DEFAULT_ACCESS_MANAGEMENT=1
ports:
- ${CLICKHOUSE_PORT}:8123
- 9000:9000
env_file:
- ../.env
networks:
- clickhouse-network
volumes:
- clickhouse-data:/var/lib/clickhouse/
volumes:
clickhouse-data:
networks:
clickhouse-network:
driver: bridge