-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
57 lines (53 loc) · 1.31 KB
/
Copy pathdocker-compose.yml
File metadata and controls
57 lines (53 loc) · 1.31 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
services:
clickhouse:
image: clickhouse/clickhouse-server:24.8
container_name: vigil-clickhouse
restart: unless-stopped
platform: linux/amd64
env_file:
- .env
environment:
CLICKHOUSE_USER: ${CLICKHOUSE_USER}
CLICKHOUSE_PASSWORD: ${CLICKHOUSE_PASSWORD}
CLICKHOUSE_DB: ${CLICKHOUSE_DB}
networks:
- vigil_internal
volumes:
- clickhouse_data:/var/lib/clickhouse
prefect-server:
image: prefecthq/prefect:3-latest
container_name: vigil-prefect
restart: unless-stopped
command: ["prefect", "server", "start", "--host", "0.0.0.0"]
environment:
PREFECT_SERVER_API_HOST: 0.0.0.0
networks:
- vigil_internal
volumes:
- prefect_data:/root/.prefect
app:
image: ghcr.io/emiliano-go/vigil:latest
pull_policy: always
container_name: vigil-app
restart: unless-stopped
env_file:
- .env
environment:
CLICKHOUSE_HOST: clickhouse
CLICKHOUSE_PORT: 8123
CLICKHOUSE_NATIVE_PORT: 9000
PREFECT_API_URL: http://prefect-server:4200/api
VIGIL_IN_CONTAINER: "1"
PORT: 8000
depends_on:
- clickhouse
- prefect-server
networks:
- vigil_internal
networks:
vigil_internal:
name: vigil_internal
driver: bridge
volumes:
clickhouse_data:
prefect_data: