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

View File

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