Hangar/docker/dev.yml

43 lines
787 B
YAML
Raw Permalink Normal View History

2023-08-20 15:46:46 +08:00
version: "3.7"
name: hangar
services:
postgres:
2023-08-20 15:46:46 +08:00
image: postgres:15-alpine
environment:
POSTGRES_DB: hangar
POSTGRES_USER: hangar
2023-08-20 15:46:46 +08:00
POSTGRES_PASSWORD: hangar
ports:
- "5432:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
2023-03-31 04:29:23 +08:00
mailslurper:
platform: linux/amd64
image: oryd/mailslurper:latest-smtps
ports:
2023-08-20 15:46:46 +08:00
- "4436:4436"
- "4437:4437"
- "1025:1025"
minio:
image: "bitnami/minio:latest"
ports:
- "9000:9000"
- "9001:9001"
environment:
- MINIO_ROOT_USER=hangar_root
- MINIO_ROOT_PASSWORD=hangar_pass
- MINIO_DEFAULT_BUCKETS=hangar:public
volumes:
- minio_data:/data
2023-03-31 04:29:23 +08:00
volumes:
postgres_data:
2023-08-20 15:46:46 +08:00
minio_data:
2021-11-13 13:52:33 +08:00
networks:
default:
name: hangar-network