fix: empêcher build sans MINIO_ROOT_PASSWORD #198
1 changed files with 4 additions and 4 deletions
|
@ -3,8 +3,8 @@ services:
|
||||||
image: 'quay.io/minio/minio:latest'
|
image: 'quay.io/minio/minio:latest'
|
||||||
restart: 'unless-stopped'
|
restart: 'unless-stopped'
|
||||||
environment:
|
environment:
|
||||||
MINIO_ROOT_USER: "${MINIO_ROOT_USER}"
|
MINIO_ROOT_USER: "${MINIO_ROOT_USER:-agecemorg}"
|
||||||
MINIO_ROOT_PASSWORD: "${MINIO_ROOT_PASSWORD}"
|
MINIO_ROOT_PASSWORD: "${MINIO_ROOT_PASSWORD:?MINIO_ROOT_PASSWORD requis dans .env}"
|
||||||
volumes:
|
volumes:
|
||||||
- 'minio-data:/data'
|
- 'minio-data:/data'
|
||||||
command: 'server /data --console-address ":9001"'
|
command: 'server /data --console-address ":9001"'
|
||||||
|
@ -15,8 +15,8 @@ services:
|
||||||
build: .
|
build: .
|
||||||
image: 'git.agecem.com/agecem/agecem-org:latest'
|
image: 'git.agecem.com/agecem/agecem-org:latest'
|
||||||
environment:
|
environment:
|
||||||
AGECEM_ORG_SERVER_DOCUMENTS_ACCESS_KEY_ID: "${MINIO_ROOT_USER}"
|
AGECEM_ORG_SERVER_DOCUMENTS_ACCESS_KEY_ID: "${MINIO_ROOT_USER:-agecemorg}"
|
||||||
AGECEM_ORG_SERVER_DOCUMENTS_SECRET_ACCESS_KEY: "${MINIO_ROOT_PASSWORD}"
|
AGECEM_ORG_SERVER_DOCUMENTS_SECRET_ACCESS_KEY: "${MINIO_ROOT_PASSWORD:?MINIO_ROOT_PASSWORD requis dans .env}"
|
||||||
ports:
|
ports:
|
||||||
- '8080:8080'
|
- '8080:8080'
|
||||||
volumes:
|
volumes:
|
||||||
|
|
Loading…
Reference in a new issue