deployment/stacks/minio.yml

35 lines
743 B
YAML
Raw Normal View History

2022-01-03 13:29:17 +01:00
version: '3'
services:
app:
2022-11-01 22:26:34 +01:00
image: 'minio/minio:RELEASE.2022-10-24T18-35-07Z'
2022-01-03 13:29:17 +01:00
command: 'server /data'
deploy:
mode: 'replicated'
replicas: 1
placement:
constraints:
2022-09-13 18:44:10 +02:00
- 'node.labels.class.minio==true'
2022-01-03 13:29:17 +01:00
labels:
- 'traefik.enable=true'
2022-01-03 13:31:58 +01:00
- 'traefik.http.routers.minio.rule=Host(`s3.rustybever.be`)'
- 'traefik.http.routers.minio.tls=true'
- 'traefik.http.routers.minio.tls.certresolver=letsEncrypt'
- 'traefik.http.services.minio.loadbalancer.server.port=9000'
2022-01-03 13:29:17 +01:00
environment:
- 'MINIO_ROOT_USER'
- 'MINIO_ROOT_PASSWORD'
networks:
- 'public'
volumes:
- 'data:/data'
networks:
public:
external: true
volumes:
data: