-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
40 lines (38 loc) · 933 Bytes
/
docker-compose.yml
File metadata and controls
40 lines (38 loc) · 933 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
37
38
39
40
version: "3.9"
services:
postgres:
image: postgres:15-alpine
container_name: aether-postgres
environment:
POSTGRES_USER: aether
POSTGRES_PASSWORD: postgres
POSTGRES_DB: aether_dev
ports:
- "5432:5432"
healthcheck:
test: ["CMD-SHELL", "pg_isready -U aether"]
interval: 5s
timeout: 5s
retries: 10
volumes:
- pg_data:/var/lib/postgresql/data
minio:
image: quay.io/minio/minio:RELEASE.2024-09-22T00-00-00Z
container_name: aether-minio
command: server /data --console-address :9001
environment:
MINIO_ROOT_USER: aether
MINIO_ROOT_PASSWORD: aethersecret
ports:
- "9000:9000"
- "9001:9001"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/ready"]
interval: 5s
timeout: 5s
retries: 10
volumes:
- minio_data:/data
volumes:
pg_data:
minio_data: