Created
August 9, 2025 07:34
-
-
Save robzlabz/b9e57923e9a7eaf900078d472a6e9dc3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ✅ The superior approach | |
version: '3.8' | |
services: | |
postgres: | |
image: postgres:15 | |
ports: | |
- "5432:5432" | |
volumes: | |
- ./.temp/postgres:/var/lib/postgresql/data | |
environment: | |
POSTGRES_DB: myapp | |
POSTGRES_USER: admin | |
POSTGRES_PASSWORD: secret | |
minio: | |
image: minio/minio:latest | |
ports: | |
- "9000:9000" | |
- "9001:9001" | |
volumes: | |
- ./.temp/minio/data:/data | |
- ./.temp/minio/config:/root/.minio | |
environment: | |
MINIO_ROOT_USER: minioadmin | |
MINIO_ROOT_PASSWORD: minioadmin123 | |
command: server /data --console-address ":9001" | |
redis: | |
image: redis:7-alpine | |
ports: | |
- "6379:6379" | |
volumes: | |
- ./.temp/redis:/data | |
command: redis-server --appendonly yes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment