-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
36 lines (34 loc) · 922 Bytes
/
docker-compose.yml
File metadata and controls
36 lines (34 loc) · 922 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
services:
strong-sync-service:
image: factorion-bot:${VERSION}
container_name: strong-sync-service
restart: unless-stopped
depends_on:
clickhouse-server:
condition: service_started
volumes:
- ./:/usr/strong-sync-service
networks:
- service-network
clickhouse-server:
image: clickhouse/clickhouse-server:latest
container_name: clickhouse-server
restart: unless-stopped
volumes:
- ./clickhouse/data:/var/lib/clickhouse
- ./clickhouse/init.sql:/docker-entrypoint-initdb.d/init.sql
- /var/log/clickhouse-server:/var/log/clickhouse-server
ports:
- "8123:8123"
- "9000:9000"
environment:
- CLICKHOUSE_DB=workouts
- CLICKHOUSE_USER=tolik518
- CLICKHOUSE_PASSWORD=admin
networks:
service-network:
aliases:
- clickhouse-server
networks:
service-network:
external: true