Run:
terraform apply -var-file=secrets.tfvars
- TODO: build server
Build arm image:
docker build -t minio-arm -f Dockerfile.arm.release .
mc admin user add minio ACCESS_KEY_ID SECRET_ACCESS_KEY
mc admin group add minio name user
mc admin policy add minio plolicy_name policy.json
mc admin policy set minio policy_name group=somegroup
Pinned version 2.6 for docker provider since 2.7 have some issues with replacing container's that haven't changed at all.
Forced container replacement with 2.7.0
There are probably some fixes in the next version 2.8.0.
Note that labels are different in version 2.6 and maybe some other properties differ to the current documentation.
We use S3 as backend type. There are several ways to authenticate in AWS.
I use a default profile located in $HOME/.aws/credentials
.
[default]
region=eu-central-1
aws_access_key_id=
aws_secret_access_key=
Waiting for feature in docker provider:
Added a option to disable auto remove for volume
docker run --rm --volumes-from yourcontainer -v $(pwd):/backup busybox tar cvf /backup/backup.tar /data
docker run --rm --volumes-from yournewcontainer -v $(pwd):/backup busybox tar xvf /backup/backup.tar
Create new user and password with:
htpasswd -nbB fennas "password"
Connect local docker daemon:
docker login -u "fennas" -p "password" https://registry.fanya.dev
Note that -p is considered insecured.