Giter Club home page Giter Club logo

Comments (7)

m90 avatar m90 commented on August 23, 2024

You should be able to do one of three things:

  • URL encode your string
  • Quote the value. If this creates the same problem as in #38 (comment) you need to update Docker/docker-compose: docker/compose#2854
  • keep using the old configuration format. Even if it's deprecated, there won't be a new major version unless there is no way around it

from docker-volume-backup.

danielmbrown603 avatar danielmbrown603 commented on August 23, 2024

How do I URL encode the string? I’m not sure what that means. Can you provide an example?

I’ll update my docker-composer later today and try that too.

Again, thanks for the help. I’m learning a lot.

from docker-volume-backup.

m90 avatar m90 commented on August 23, 2024

URL encoding allows you to use reserved characters in a URL String. Imagine you need to use & in the value of a query param. ?value=this&that will not work (value will be this). Instead you encode the & like this: ?value=this%26that. See: https://en.wikipedia.org/wiki/Percent-encoding - the # is encoded as %23

I don't know which language you use, but it's available in basically every language.

from docker-volume-backup.

danielmbrown603 avatar danielmbrown603 commented on August 23, 2024

Ok, I think I understand. I’m Just deploying this as is via docker-compose and trying to configure email notifications.

I’ll try again after I update docker-compose, otherwise I’ll revert back to the legacy email method.

thank you!

from docker-volume-backup.

danielmbrown603 avatar danielmbrown603 commented on August 23, 2024

I can't figure it out, I'll keep googling. I did upgrade docker-compose and my previous layout doesn't work either.

The problem I see is I am using a gmail account, so my username contains @gmail.com and my password has a # and & symbol. Seems like docker will not pass those special characters from the env file.

You can close this, its a skillset issue on my part, not an issue with your code.

Thanks again.

from docker-volume-backup.

m90 avatar m90 commented on August 23, 2024

Maybe you can use this tool to generate your URL: containrrr/shoutrrr#103 (comment)

from docker-volume-backup.

danielmbrown603 avatar danielmbrown603 commented on August 23, 2024

Got it!
I URL encoded my username and password with this https://www.urlencoder.org/
One issue, is I also encoded the ':' between username:password, and that stumped me for awhile. All good now. Thank you

from docker-volume-backup.

Related Issues (20)

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.