refactor: take a style pass on the config

This commit is contained in:
decentral1se 2022-01-05 18:41:58 +01:00
parent 345d676a54
commit 5159b319bb
Signed by: decentral1se
GPG Key ID: 03789458B3D0C410
2 changed files with 10 additions and 8 deletions

View File

@ -1,10 +1,9 @@
# minio
[![Build Status](https://drone.autonomic.zone/api/badges/coop-cloud/minio/status.svg?ref=refs/heads/main)](https://drone.autonomic.zone/coop-cloud/minio)
High Performance Object Storage, AWS S3 alternative
> High Performance Object Storage, AWS S3 alternative
<!-- metadata -->
* **Category**: Utilities
* **Status**: 2, beta
* **Image**: [`minio`](https://hub.docker.com/r/minio/minio), 4, upstream
@ -13,6 +12,7 @@ High Performance Object Storage, AWS S3 alternative
* **Email**: No
* **Tests**: 2
* **SSO**: No
<!-- endmetadata -->
## Basic usage

View File

@ -1,4 +1,6 @@
---
version: "3.8"
services:
app:
image: minio/minio:RELEASE.2021-04-22T15-44-28Z
@ -8,21 +10,18 @@ services:
- proxy
deploy:
restart_policy:
delay: 10s
max_attempts: 10
window: 60s
condition: on-failure
labels:
- "traefik.enable=true"
- "traefik.http.services.${STACK_NAME}.loadbalancer.server.port=9000"
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`${EXTRA_DOMAINS})"
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
- "coop-cloud.${STACK_NAME}.app=0.1.0+RELEASE.2021-04-22T15-44-28Z-b033f964"
## Redirect from EXTRA_DOMAINS to DOMAIN
#- "traefik.http.routers.${STACK_NAME}.middlewares=${STACK_NAME}-redirect"
#- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLForceHost=true"
#- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLHost=${DOMAIN}"
- coop-cloud.${STACK_NAME}.app.version=RELEASE.2021-04-22T15-44-28Z-b033f964
command: server /export
secrets:
- secret_key
@ -32,11 +31,14 @@ services:
interval: 30s
timeout: 20s
retries: 3
networks:
proxy:
external: true
volumes:
minio-data:
secrets:
secret_key:
external: true