micro/compose.yml

27 lines
767 B
YAML
Raw Permalink Normal View History

2021-04-02 04:57:37 +00:00
# THIS FILE IS FOR DEVELOPMENT ONLY.
2024-05-16 16:06:44 +00:00
# PERSISTENCE IS NOT ENABLED, `docker compose down` WILL DELETE ALL DATA.
2021-04-02 04:57:37 +00:00
# If you want complete examples on how to host micro, see the /examples directory.
2020-10-01 16:36:52 +00:00
version: "3"
services:
postgres:
image: postgres:12-alpine
container_name: micro_postgres
restart: unless-stopped
ports:
- 127.0.0.1:5433: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