Give minio access to backend

Add volume to persist minio configuration
Modify minio data volume to use the standard DATA_SAVE_PATH
This commit is contained in:
KoRiGaN 2017-12-13 17:45:15 +01:00
parent 4730ed1b78
commit 63c69231f7
1 changed files with 3 additions and 1 deletions

View File

@ -198,7 +198,8 @@ services:
minio:
build: ./minio
volumes:
- minio:/export
- ${DATA_SAVE_PATH}/minio/data:/export
- ${DATA_SAVE_PATH}/minio/config:/root/.minio
ports:
- "${MINIO_PORT}:9000"
environment:
@ -206,6 +207,7 @@ services:
- MINIO_SECRET_KEY=secretkey
networks:
- frontend
- backend
### MySQL Container #########################################