-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathcompose.yml
More file actions
27 lines (26 loc) · 767 Bytes
/
compose.yml
File metadata and controls
27 lines (26 loc) · 767 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
# THIS FILE IS FOR DEVELOPMENT ONLY.
# PERSISTENCE IS NOT ENABLED, `docker compose down` WILL DELETE ALL DATA.
# If you want complete examples on how to host micro, see the /examples directory.
version: "3"
services:
postgres:
image: postgres:12-alpine
container_name: micro_postgres
restart: unless-stopped
ports:
- 127.0.0.1:5432:5432
environment:
- POSTGRES_USER=micro
- POSTGRES_PASSWORD=youshallnotpass
- POSTGRES_DB=micro
minio:
image: minio/minio
container_name: micro_minio
restart: unless-stopped
command: server /data --console-address ":9001"
ports:
- 127.0.0.1:9000:9000
- 127.0.0.1:9001:9001
environment:
MINIO_ROOT_USER: test
MINIO_ROOT_PASSWORD: testtest