diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2021-01-09 12:33:17 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2021-01-09 12:33:17 +0100 |
commit | 16795884f3e915ed6d8b086fd5b6b93fc4858a27 (patch) | |
tree | 2043154f60fd396e5ee9f572df0dc9112f46feff /ansible/minio/templates | |
parent | 4dd314376968d99abe67e1c49ad8032d3a2b96c2 (diff) | |
parent | 5b1279c3dd28a2c0252624c36e937c59db15270d (diff) | |
download | infra-16795884f3e915ed6d8b086fd5b6b93fc4858a27.tar.gz infra-16795884f3e915ed6d8b086fd5b6b93fc4858a27.tar.bz2 infra-16795884f3e915ed6d8b086fd5b6b93fc4858a27.tar.xz infra-16795884f3e915ed6d8b086fd5b6b93fc4858a27.zip |
Merge branch 'master' of trygvis.io:git/infra
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 |