jkaberg / docker-hubic2swiftgate

An docker for hubic2swiftgate

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

docker-hubic2swiftgate

Download

sudo apt-get install -y git
sudo git clone https://github.com/jkaberg/docker-hubic2swiftgate
cd docker-hubic2swiftgate

Edit the config file in config/config.php by,

  • Going to https://hubic.com/home/browser/developers/ and getting the necessary information
  • Add an application
  • Fill out last name an redirection domain (https://**** IP OR FQDN ****:9443/callback/) Very important!
  • Hit Details to get the necessary client id and secret client
  • fill out config.php

Build

docker build -t hubic2swiftgate .

Run

docker run -d -p 9443:443 --name hubic2swiftgate --restart always hubic2swiftgate

Then at last configure hubic2swiftgate at

https://**** IP OR FQDN ****:9443/register/?client=hubic&password=****password in config file****

You can then mount hubic2swiftgate with s3ql or similar like so,

mount.s3ql swift://localhost:9443/<bucketname> <mountpoint>

About

An docker for hubic2swiftgate


Languages

Language:Shell 91.7%Language:PHP 8.3%