diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2021-01-08 16:54:04 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2021-01-08 16:54:36 +0100 |
commit | 5b1279c3dd28a2c0252624c36e937c59db15270d (patch) | |
tree | 2a14ab954a3fac6fde17c05b5821f65c5bd4ba3b /ansible/minio/templates | |
parent | 9e4e02fdfb5a9e038c5e09a38fa51b457164156b (diff) | |
download | infra-5b1279c3dd28a2c0252624c36e937c59db15270d.tar.gz infra-5b1279c3dd28a2c0252624c36e937c59db15270d.tar.bz2 infra-5b1279c3dd28a2c0252624c36e937c59db15270d.tar.xz infra-5b1279c3dd28a2c0252624c36e937c59db15270d.zip |
minio
Diffstat (limited to 'ansible/minio/templates')
-rw-r--r-- | ansible/minio/templates/docker-compose.yml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/ansible/minio/templates/docker-compose.yml b/ansible/minio/templates/docker-compose.yml new file mode 100644 index 0000000..4377d0b --- /dev/null +++ b/ansible/minio/templates/docker-compose.yml @@ -0,0 +1,17 @@ +version: "3" +services: + minio: + image: minio/minio:{{ minio_version }} + environment: + # It seems like minio want to replace access_key/secret_key with root_, but it doesn't work yet. + MINIO_ROOT_USER: {{ MINIO_ROOT_USER }} + MINIO_ROOT_PASSWORD: {{ MINIO_ROOT_PASSWORD }} + MINIO_ACCESS_KEY: {{ MINIO_ROOT_USER }} + MINIO_SECRET_KEY: {{ MINIO_ROOT_PASSWORD }} + command: + - server + - /data + ports: + - "9000:9000" + volumes: + - {{ minio_data }}:/data |