|
@@ -9,13 +9,13 @@ Scope of the **basic setup** is to run minio
|
|
|
|
|
|
Scope of the **advance setup** is to run minio in addition
|
|
Scope of the **advance setup** is to run minio in addition
|
|
- with TLS support
|
|
- with TLS support
|
|
-- with web ui (console, port 9001) exposed to a reverse proxy (port 443)
|
|
|
|
-- with TLS support for s3 (port 9000), borrowed from the reverse proxy above
|
|
|
|
|
|
+- with web ui (console, port 9001) exposed
|
|
|
|
+- with TLS support for s3 (port 9000), borrowed from a reverse proxy
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Configuration
|
|
## Configuration
|
|
-### Basic Configuration
|
|
|
|
|
|
+
|
|
```
|
|
```
|
|
# Prepare a directory
|
|
# Prepare a directory
|
|
miniodir="/opt/docker/minio"
|
|
miniodir="/opt/docker/minio"
|
|
@@ -28,26 +28,34 @@ git clone https://git.in-ulm.de/ulpeters/minio.git
|
|
|
|
|
|
# Prepare your configuration
|
|
# Prepare your configuration
|
|
cp .env.template .env
|
|
cp .env.template .env
|
|
- # Set custom access and secret keys in .env
|
|
|
|
|
|
+ # Update .env
|
|
|
|
+ # - Set custom access and secret keys
|
|
|
|
+ # - set fqdn in $HOSTNAME
|
|
|
|
+ # - set $CERT_PATH to your reverse proxy
|
|
|
|
+
|
|
|
|
+
|
|
|
|
|
|
|
|
|
|
# Create a home and data directory owned by 1000:1000
|
|
# Create a home and data directory owned by 1000:1000
|
|
mkdir -p $miniodir/data/home $miniodir/data/data
|
|
mkdir -p $miniodir/data/home $miniodir/data/data
|
|
chown -R 1000:1000 $miniodir
|
|
chown -R 1000:1000 $miniodir
|
|
|
|
|
|
-# Start minio
|
|
|
|
|
|
+# Start miniominio
|
|
|
|
+##basic
|
|
docker-compose up -f docker-compose.yml up
|
|
docker-compose up -f docker-compose.yml up
|
|
docker logs --follow minio
|
|
docker logs --follow minio
|
|
|
|
+
|
|
|
|
+##advances
|
|
|
|
+docker-compose up
|
|
|
|
+docker logs --follow minio
|
|
```
|
|
```
|
|
-**Make sure to [generate](KEY-GENERATION.md) and set custom access and secret keys!!**
|
|
|
|
|
|
+- Make sure to [generate](KEY-GENERATION.md) and set custom access and secret keys!!
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
|
|
|
|
+- [Reverse proxy with Letsencrypt companion](https://git.in-ulm.de/ulpeters/reverse-proxy) running
|
|
|
|
|
|
-### Advanced Configuration
|
|
|
|
|
|
|
|
-#### Preconditions:
|
|
|
|
- - [Reverse proxy with Letsencrypt companion](https://git.in-ulm.de/ulpeters/reverse-proxy) running
|
|
|
|
|
|
|
|
-#### Steps
|
|
|
|
- - set $HOSTNAME in .env
|
|
|
|
- - set $CERT_PATH in .env
|
|
|
|
- - Setup FW
|
|
|