S3 Minio (Optional)
S3 Minio - The scalable solution for object-based storage. With high performance and flexibility, it is ideal for modern data applications. When using Relution, it is possible that the table ‘resource’ becomes relatively large. Among other things, native apps are stored here.
Depending on the size, it makes sense to swap out these apps from the database.
S3 bucket is suitable for outsourcing app files. The
Minio Image is a small, easy-to-configure
Configuration of the .yml
Minio Container must be added to the
Add this section:
services: minio: image: 'quay.io/minio/minio:latest' ports: - '9000:9000' - '9001:9001' environment: - MINIO_ROOT_USER=%USERNAME% - MINIO_ROOT_PASSWORD=%PASSWORD% command: server --console-address ":9001" /data networks: relution-network: aliases: - minio volumes: - ./volumes/minio/data:/data
In this configuration, Minio stores all data on the local hard disk under
MINIO_ROOT_PASSWORD must be adapted.
The permissions for the folder must still be adapted before starting and migrating the data.
chown -R 1001:1001 volumes
Relution must then be informed that the
rescource table no longer holds the data and replaced by
To do this, specify the
MINIO_ROOT_PASSWORD parameters configured in the
Minio Container for
To do this, add this section to
services: relution: environment: - S3_ENDPOINT=http://minio:9000 - STORAGE_TYPE=S3 - STORAGE_S3_ACCESS_KEY=%USERNAME% - STORAGE_S3_SECRET_KEY=%PASSWORD% - STORAGE_S3_BUCKET_NAME=relution
Then execute the command
docker-compose pull and the
Minio image will be downloaded. Then start the containers with
docker-compose up -d. Minio will be up and running in a few seconds and Relution will start copying all the contents of the
resource table into the
The process can be monitored with the following command:
docker logs -f docker_relution