Giter VIP home page Giter VIP logo

Comments (4)

kamarton avatar kamarton commented on June 12, 2024

@dasb00ter Within a day or two, I will write a more detailed description this workflow.

from gwbackupy-docker.

dasb00ter avatar dasb00ter commented on June 12, 2024

Thanks for your time

from gwbackupy-docker.

kamarton avatar kamarton commented on June 12, 2024

@dasb00ter

  1. create .data directory with your credentials JSON
.data
.data/my-cred-app.json
  1. this script starting a temporary container and show the authorization URL
docker run -it --rm -p "127.0.0.1:43339:43339" -v "$(pwd)/.data:/data" -e GWBACKUPY_CREDENTIALS_FILEPATH="/data/my-cred-app.json" -e GWBACKUPY_ACCOUNT_EMAILS="[email protected]" -e GWBACKUPY_OAUTH_REDIRECT_HOST=127.0.0.1 smartondev/gwbackupy /bin/bash access-init.sh
  1. copy URL and paste to a browser on same PC
  2. allow access in browser
  3. the google server redirect page to http://127.0.0.1:43339/... (gwbackupy script)
  4. if success then show [email protected] account auth check successful for gmail service
  5. The script given in point 3. automatically deletes the container after the operation, but the data remains in the .data folder.

After that, you can start a always running container.

docker run -d -v "$(pwd)/.data:/data" --restart always -e GWBACKUPY_CREDENTIALS_FILEPATH="/data/my-cred-app.json" -e GWBACKUPY_ACCOUNT_EMAILS="[email protected]" smartondev/gwbackupy

from gwbackupy-docker.

dasb00ter avatar dasb00ter commented on June 12, 2024

Thanks so much I'll have a look on my days off

from gwbackupy-docker.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.