-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
45 lines (43 loc) · 1018 Bytes
/
docker-compose.dev.yml
File metadata and controls
45 lines (43 loc) · 1018 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
41
42
43
44
45
services:
####################
# PostgreSQL Database
####################
postgres:
image: postgres:latest
container_name: laberis_postgres_db_dev
env_file:
- .env.dev
volumes:
- postgres_data_dev:/var/lib/postgresql/data
ports:
- "5432:5432"
restart: unless-stopped
healthcheck:
test: ["CMD-SHELL", "pg_isready -U $$POSTGRES_USER -d $$POSTGRES_DB"]
interval: 10s
timeout: 5s
retries: 5
####################
# MinIO Object Storage
####################
minio:
image: minio/minio:latest
container_name: laberis_minio_dev
env_file:
- .env.dev
volumes:
- minio_data_dev:/data
ports:
- "9000:9000" # API
- "9001:9001" # Console UI
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"]
interval: 10s
timeout: 5s
retries: 5
volumes:
postgres_data_dev:
driver: local
minio_data_dev:
driver: local