-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
60 lines (54 loc) · 1.38 KB
/
docker-compose.yaml
File metadata and controls
60 lines (54 loc) · 1.38 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
version: "3.8"
services:
prefect-server:
image: prefecthq/prefect:3-latest
command: prefect server start --host 0.0.0.0
ports:
- "4200:4200"
environment:
PREFECT_LOGGING_LEVEL: INFO
PREFECT_SERVER_API_AUTH_STRING: "admin:pass"
volumes:
- prefect_data:/root/.prefect
networks:
- prefect-network
postgres:
image: postgres:15
environment:
POSTGRES_USER: ${APP_CONFIG__DB__USERNAME}
POSTGRES_PASSWORD: ${APP_CONFIG__DB__PASSWORD}
POSTGRES_DB: ${APP_CONFIG__DB__DATABASE}
restart: unless-stopped
ports:
- "5438:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
networks:
- prefect-network
minio:
container_name: prefect-minio
image: minio/minio:RELEASE.2023-03-20T20-16-18Z
environment:
MINIO_ACCESS_KEY: ${APP_CONFIG__S3__ACCESS_KEY}
MINIO_SECRET_KEY: ${APP_CONFIG__S3__SECRET_KEY}
ports:
- "9001:9001"
- "9000:9000"
volumes:
- minio_data:/minio_data
command: minio server /minio_data --console-address ":9001"
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"]
interval: 30s
timeout: 20s
retries: 3
networks:
- prefect-network
volumes:
postgres_data:
minio_data:
prefect_data:
networks:
prefect-network:
driver: bridge