refactor: take a style pass on the config
This commit is contained in:
parent
345d676a54
commit
5159b319bb
|
@ -1,10 +1,9 @@
|
||||||
# minio
|
# 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 -->
|
<!-- metadata -->
|
||||||
|
|
||||||
* **Category**: Utilities
|
* **Category**: Utilities
|
||||||
* **Status**: 2, beta
|
* **Status**: 2, beta
|
||||||
* **Image**: [`minio`](https://hub.docker.com/r/minio/minio), 4, upstream
|
* **Image**: [`minio`](https://hub.docker.com/r/minio/minio), 4, upstream
|
||||||
|
@ -13,6 +12,7 @@ High Performance Object Storage, AWS S3 alternative
|
||||||
* **Email**: No
|
* **Email**: No
|
||||||
* **Tests**: 2
|
* **Tests**: 2
|
||||||
* **SSO**: No
|
* **SSO**: No
|
||||||
|
|
||||||
<!-- endmetadata -->
|
<!-- endmetadata -->
|
||||||
|
|
||||||
## Basic usage
|
## Basic usage
|
||||||
|
|
12
compose.yml
12
compose.yml
|
@ -1,4 +1,6 @@
|
||||||
|
---
|
||||||
version: "3.8"
|
version: "3.8"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
image: minio/minio:RELEASE.2021-04-22T15-44-28Z
|
image: minio/minio:RELEASE.2021-04-22T15-44-28Z
|
||||||
|
@ -8,21 +10,18 @@ services:
|
||||||
- proxy
|
- proxy
|
||||||
deploy:
|
deploy:
|
||||||
restart_policy:
|
restart_policy:
|
||||||
delay: 10s
|
condition: on-failure
|
||||||
max_attempts: 10
|
|
||||||
window: 60s
|
|
||||||
labels:
|
labels:
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
- "traefik.http.services.${STACK_NAME}.loadbalancer.server.port=9000"
|
- "traefik.http.services.${STACK_NAME}.loadbalancer.server.port=9000"
|
||||||
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`${EXTRA_DOMAINS})"
|
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`${EXTRA_DOMAINS})"
|
||||||
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
|
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
|
||||||
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
|
- "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
|
## Redirect from EXTRA_DOMAINS to DOMAIN
|
||||||
#- "traefik.http.routers.${STACK_NAME}.middlewares=${STACK_NAME}-redirect"
|
#- "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.SSLForceHost=true"
|
||||||
#- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLHost=${DOMAIN}"
|
#- "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
|
command: server /export
|
||||||
secrets:
|
secrets:
|
||||||
- secret_key
|
- secret_key
|
||||||
|
@ -32,11 +31,14 @@ services:
|
||||||
interval: 30s
|
interval: 30s
|
||||||
timeout: 20s
|
timeout: 20s
|
||||||
retries: 3
|
retries: 3
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
proxy:
|
proxy:
|
||||||
external: true
|
external: true
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
minio-data:
|
minio-data:
|
||||||
|
|
||||||
secrets:
|
secrets:
|
||||||
secret_key:
|
secret_key:
|
||||||
external: true
|
external: true
|
||||||
|
|
Loading…
Reference in New Issue