Add minio data volume

This commit is contained in:
David Stephens 2023-07-15 19:23:18 +01:00
parent bf4d7f9cb4
commit b1128a1c81

View file

@ -18,6 +18,8 @@
- "{{ minio_api_port }}:9000"
- "{{ minio_console_port }}:{{ minio_console_port }}"
command: 'server /data --console-address ":{{ minio_console_port }}"'
volumes:
- "{{ minio_data_directory }}/data:/data"
env:
MINIO_ROOT_USER: "{{ minio_admin_username }}"
MINIO_ROOT_PASSWORD: "{{ minio_admin_password }}"