Feat: instance de minio
This commit is contained in:
parent
80a6fabc66
commit
3084e8392d
2
.gitignore
vendored
2
.gitignore
vendored
@ -3,3 +3,5 @@ matrix/nginx/www/
|
||||
matrix/synapse/media_store/
|
||||
|
||||
traefik/certs/
|
||||
|
||||
minio/data
|
||||
|
@ -29,3 +29,9 @@ Make some direcories
|
||||
|
||||
https://gist.github.com/matusnovak/37109e60abe79f4b59fc9fbda10896da
|
||||
|
||||
## Minio
|
||||
|
||||
Quelques commandes utiles
|
||||
|
||||
docker run -ti --rm --network docker_lan -v /docker/data/mc:/root/.mc minio/mc alias set minio http://minio.combava.lan:9000 admin testtest --api s3v4
|
||||
|
||||
|
2
minio/.env
Normal file
2
minio/.env
Normal file
@ -0,0 +1,2 @@
|
||||
MINIO_ROOT_USER=test
|
||||
MINIO_ROOT_PASSWORD=testtest
|
24
minio/docker-compose.yml
Normal file
24
minio/docker-compose.yml
Normal file
@ -0,0 +1,24 @@
|
||||
version: '3'
|
||||
services:
|
||||
minio:
|
||||
image: minio/minio
|
||||
volumes:
|
||||
- ./data:/data
|
||||
env_file:
|
||||
- .env
|
||||
ports:
|
||||
- "9000:9000"
|
||||
- "9001:9001"
|
||||
command: server --console-address ":9001" --address ":9000" /data
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.services.minio.loadbalancer.server.port=8008"
|
||||
- "traefik.http.routers.minio.rule=Host(`minio.combava.lan`)"
|
||||
- "traefik.http.routers.minio.entrypoints=https"
|
||||
- "traefik.http.routers.minio.tls=true"
|
||||
networks:
|
||||
- gateway
|
||||
|
||||
networks:
|
||||
gateway:
|
||||
external: true
|
Loading…
Reference in New Issue
Block a user