-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
59 lines (56 loc) · 1.31 KB
/
Copy pathdocker-compose.dev.yml
File metadata and controls
59 lines (56 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
58
59
services:
db:
image: postgres:16
container_name: dev-db
env_file:
- .env
restart: unless-stopped
environment:
POSTGRES_DB: ${DB_NAME}
POSTGRES_USER: ${DB_USER}
POSTGRES_PASSWORD: ${DB_PASSWORD}
ports:
- "5432:5432"
volumes:
- pgdata_dev:/var/lib/postgresql/data
healthcheck:
test: [ "CMD", "pg_isready", "-U", "${DB_USER}" ]
interval: 5s
timeout: 3s
retries: 10
redis:
image: redis:8.2-alpine
container_name: dev-redis
restart: unless-stopped
command: [ "redis-server", "--appendonly", "yes" ]
ports:
- "6379:6379"
volumes:
- redis-data_dev:/data
healthcheck:
test: [ "CMD", "redis-cli", "ping" ]
interval: 5s
timeout: 3s
retries: 10
minio:
image: minio/minio:RELEASE.2025-09-07T16-13-09Z
container_name: dev-minio
restart: unless-stopped
volumes:
- "./minio/data:/data"
environment:
TZ: Europe/Moscow
LANG: en_US.UTF-8
MINIO_ROOT_USER: ${MINIO_ROOT_USER}
MINIO_ROOT_PASSWORD: ${MINIO_ROOT_PASSWORD}
command: server /data --console-address ":9001"
logging:
driver: "json-file"
options:
max-size: "100m"
ports:
- "9000:9000"
- "9001:9001"
volumes:
pgdata_dev:
redis-data_dev: