-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
55 lines (47 loc) · 1.04 KB
/
docker-compose.yml
File metadata and controls
55 lines (47 loc) · 1.04 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
# Docker compose for local development using docker.
version: '3'
services:
app:
build: .
env_file: "envs/dev-docker.env"
depends_on:
- test
test:
build: .
env_file: "envs/dev-docker.env"
command: ["pytest", "tst"]
redis:
image: redis
ports:
- '56379:6379'
volumes:
- redis-data:/data
restart: unless-stopped
environment:
- REDIS_REPLICATION_MODE=master
postgres:
image: postgres:14-alpine
restart: unless-stopped
container_name: local_db
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_DB=postgres
ports:
- 55432:5432
volumes:
- postgres-data:/var/lib/postgresql/data
minio:
image: minio/minio
restart: unless-stopped
container_name: local_minio
ports:
- 59000:9000
- 59001:9001
environment:
MINIO_ROOT_USER: minioadmin
MINIO_ROOT_PASSWORD: minioadmin
command: 'server /data --console-address ":9001"'
volumes:
postgres-data:
redis-data: