-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
94 lines (87 loc) · 2.06 KB
/
Copy pathdocker-compose.dev.yml
File metadata and controls
94 lines (87 loc) · 2.06 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
# version: '3.8'
name: robin
networks:
database:
driver: bridge
name: database
services:
redis:
image: redis
container_name: redis
restart: always
ports:
- 6379:6379
networks:
- database
volumes:
- redis:/data
healthcheck:
test: redis-cli ping
interval: 3s
timeout: 1s
retries: 5
clickhouse:
build: clickhouse
container_name: clickhouse
restart: always
environment:
CLICKHOUSE_USER: admin
CLICKHOUSE_PASSWORD: password123
CLICKHOUSE_DEFAULT_ACCESS_MANAGEMENT: "1"
volumes:
- clickhouse:/var/lib/clickhouse
- ./dev-data/clickhouse/copyed:/var/lib/clickhouse/copyed
- ./dev-data/clickhouse/copyed_legacy:/var/lib/clickhouse/copyed_legacy
- ./dev-data/clickhouse/copyed_truckscales:/var/lib/clickhouse/copyed_truckscales
ports:
- 8123:8123
- 9000:9000
networks:
- database
healthcheck:
test: wget --no-verbose --tries=1 --spider http://localhost:8123/ping || exit 1
interval: 3s
timeout: 1s
retries: 5
robin:
# dns:
# - 8.8.8.8
# - 8.8.4.4
env_file:
- ../.env
environment:
- PROJECT_NAME=${PROJECT_NAME:-Robin}
- PROJECT_VERSION=${PROJECT_VERSION:-2.4.96}
- PORT=${PORT:-8008}
build:
context: ../
dockerfile: deploy/robin/Dockerfile
args:
- PROJECT_NAME=${PROJECT_NAME:-Robin}
- PROJECT_VERSION=${PROJECT_VERSION:-2.4.96}
- PORT=${PORT:-8008}
# image: robin
container_name: robin
restart: always
volumes:
- ../config:/Robin/config:ro
- ../log:/Robin/log
ports:
- 8008:8008
extra_hosts:
- host.docker.internal:host-gateway
networks:
- database
healthcheck:
test: wget --no-verbose --tries=1 --spider http://localhost:8008/ping || exit 1
interval: 3s
timeout: 1s
retries: 5
depends_on:
clickhouse:
condition: service_healthy
redis:
condition: service_healthy
volumes:
clickhouse:
redis: