Giter Club home page Giter Club logo

Comments (6)

ivanricsan avatar ivanricsan commented on May 20, 2024 1

EDIT: I see you have updated the readme to:

docker network create --subnet 172.20.0.0/16 mynetwork

Will try to create my network the same way in portainer

from media-stack.

navilg avatar navilg commented on May 20, 2024

Are you using vpn profile ? If yes how are you setting this ?

When deploying it with docker-compose it is used with --profiles. But with portainer, You need to create a variable COMPOSE_PROFILES=vpn.

This docker compose file is written to be used with vpn by default. If you don't want to use it with vpn, You will need to update docker compose as guided in comment messages in docker-compose.yml file.

from media-stack.

ivanricsan avatar ivanricsan commented on May 20, 2024

Yes, I want to use a VPN.
I am setting everything up as the compose file says. Commenting and un commenting the lines it mentions, nothing less and nothing more.

I will try the variable you mention but I thought that if in the compose it specified

Profiles: ["vpn"] it was equivalent.

I pasted the compose file on my original comment, you mind having a quick look and letting me know if anything looks out of place?

from media-stack.

navilg avatar navilg commented on May 20, 2024

When a service has profile :["vpn"] it will only be created when profile is provided during deployment. Try above variable to use vpn profile. It should work. compose file looks good.

from media-stack.

ivanricsan avatar ivanricsan commented on May 20, 2024

COMPOSE_PROFILES=vpn

This fixed the issue above, thank you.

I am now getting:

Container vpn Started Error response from daemon: user specified IP address is supported only when connecting to networks with user configured subnet

Which i believe is because of the network created.

from media-stack.

ivanricsan avatar ivanricsan commented on May 20, 2024

Sorted, thank you

from media-stack.

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.