Skip to content

Instantly share code, notes, and snippets.

@ayrilmaz
Created May 29, 2022 16:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ayrilmaz/ae43e4a9bfad5804ca965dc6712db035 to your computer and use it in GitHub Desktop.
Save ayrilmaz/ae43e4a9bfad5804ca965dc6712db035 to your computer and use it in GitHub Desktop.
minio volume
services:
minio:
image: minio/minio
restart: on-failure
env_file: .env
environment:
MINIO_ROOT_USER: $USER_NAME
MINIO_ROOT_PASSWORD: $PASSWORD
MINIO_ACCESS_KEY: $USER_NAME
MINIO_SECRET_KEY: $PASSWORD
command: server --console-address ":9001" /data/minio
ports:
- '9000:9000'
- '9001:9001'
volumes:
- /Volumes/Untitled/test/:/data/minio
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment