Add minio and separate caddy config
This commit is contained in:
parent
9edc21c59d
commit
a14902ddf9
23 changed files with 45 additions and 0 deletions
9
caddy/config/conf.003.d/s3.serguzim.me.conf
Normal file
9
caddy/config/conf.003.d/s3.serguzim.me.conf
Normal file
|
@ -0,0 +1,9 @@
|
|||
s3.serguzim.me {
|
||||
import default
|
||||
reverse_proxy minio:9000
|
||||
}
|
||||
|
||||
console.s3.serguzim.me {
|
||||
import default
|
||||
reverse_proxy minio:9001
|
||||
}
|
12
minio/.env
Normal file
12
minio/.env
Normal file
|
@ -0,0 +1,12 @@
|
|||
MINIO_SERVER_URL="https://s3.serguzim.me/"
|
||||
MINIO_BROWSER_REDIRECT_URL="https://console.s3.serguzim.me"
|
||||
MINIO_VOLUMES="/data"
|
||||
|
||||
MINIO_ROOT_USER=
|
||||
MINIO_ROOT_PASSWORD=
|
||||
|
||||
#MINIO_IDENTITY_OPENID_CONFIG_URL="https://auth.serguzim.me/application/o/s3-serguzim-me/.well-known/openid-configuration"
|
||||
#MINIO_IDENTITY_OPENID_CLIENT_ID=
|
||||
#MINIO_IDENTITY_OPENID_CLIENT_SECRET=
|
||||
#MINIO_IDENTITY_OPENID_CLAIM_NAME="policy"
|
||||
#MINIO_IDENTITY_OPENID_REDIRECT_URI="https://console.s3.serguzim.me/oauth_callback"
|
24
minio/docker-compose.yml
Normal file
24
minio/docker-compose.yml
Normal file
|
@ -0,0 +1,24 @@
|
|||
version: '3'
|
||||
services:
|
||||
app:
|
||||
image: minio/minio
|
||||
restart: always
|
||||
labels:
|
||||
com.centurylinklabs.watchtower.enable: true
|
||||
env_file:
|
||||
- .env
|
||||
- .secret.env
|
||||
volumes:
|
||||
- "data:/data"
|
||||
command: server --console-address ":9001"
|
||||
networks:
|
||||
apps:
|
||||
aliases:
|
||||
- minio
|
||||
|
||||
volumes:
|
||||
data:
|
||||
|
||||
networks:
|
||||
apps:
|
||||
external: true
|
Reference in a new issue