-
Notifications
You must be signed in to change notification settings - Fork 200
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make docker-compose not configurable #445
Make docker-compose not configurable #445
Conversation
Ideally I'd want to have both this static version and old example of having multiple different providers present. Can you move that old version to the examples folder? (Also while you're at it could you change config/examples to examples/config so that everything would use that same pattern?) |
This docker compose doesn't depend on any files in the repo except those provider ones so you can have that immutable use case regardless of the folder it's in (yeah, you'd need to have one initial migration if we do move the folder but the risk of that happening again is low). The reason I want to move this to a folder is because the repo grows and becomes harder to manage if everything is at root level and grouping related things together helps with that (I also want to move terraform and kubernetes there following the same logic) |
This will work normaly only if tool will have build-in feature for proxies support, but seems like someone deleted it. Also 2 VPN providers not achieve this milestone, and increase this integer will just increese CPU consumption in geometry progression. Anyway I will move it to |
…chunPak/db1000n into make-docker-compose-not-configurable
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not exactly what I meant (I thought you'd move ovpn folder so that it stays the same relative to the compose file) but this also works
As for 1 vpn vs multiple vpns vs proxies - proxylist is the easiest one to setup globally but it only supports some of attacks (I'm not sure if you can send upd or raw ip traffic through it, at least using standard go library). VPN doesn't have that issue and multiple vpns are just a way for someone to make the vpn setup more robust. The best way is to actually deploy the app to multiple small cloud machines but that's a separate discussion |
Description
This will make docker-compose.yml not configurable. Only OpenVPN can be configured. Reason of this: I really hate resolve "merge-conflicts" when updating my docker-compose system. I just want use
git pull && docker-compose pull
to update without anything else. This PR make it possible, now you don't need disable half of file.Cons:
updater
. May be fixed with Added mirrors for config. #205 (you really need fix?).Migrations
You need rename your
provider01.txt
(and/orprovider02.txt
) toauth.txt
, also you need re-check yourprovider*.conf
files, and configure it to work with one user (fromauth.txt
, insteand ofprovider01.txt
orprovider02.txt
).And you need rename
provider*.conf
toprovider*.ovpn
(exampleprovider01.endpoint02.conf
toprovider01.ovpn
).Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
docker-compose up -d
Test Configuration
v0.8.10
Logs
Screenshots