-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yaml
More file actions
42 lines (42 loc) · 945 Bytes
/
docker-compose.dev.yaml
File metadata and controls
42 lines (42 loc) · 945 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
services:
author-dev-postgres:
container_name: 'author-dev-postgres'
image: 'postgres:15.1'
environment:
POSTGRES_DB: 'tailor_dev'
POSTGRES_USER: 'dev'
POSTGRES_PASSWORD: 'dev'
expose:
- '5432'
ports:
- '5432:5432'
restart: 'no'
author-dev-redis:
container_name: 'author-dev-redis'
image: redis:7.4.0
expose:
- '6379'
ports:
- '6379:6379'
author-dev-minio:
container_name: author-dev-minio
image: minio/minio
command: server /data
expose:
- '9000'
ports:
- '4566:9000'
environment:
- MINIO_ROOT_USER=test
- MINIO_ROOT_PASSWORD=test1234
author-dev-createbucket:
image: minio/mc
depends_on:
- author-dev-minio
entrypoint: >
/bin/sh -c "
sleep 3;
mc alias set minio http://author-dev-minio:9000 test test1234;
mc mb minio/test --ignore-existing;
exit 0;
"