Comments (6)
i have started looking at a potential alternate option; having a vpn container in DS that users would assign other containers to operate through. with that approach you would use the sab or transmission container with the names expected by swag, but you would be able to route traffic through your vpn. it's a work in progress, and i don't use a vpn, so testing will be limited.
from dockstarter.
An easier solution is to modify the swag config. Just set the upstream app variable to sabnzbdvpn. I think they use the same port.
I think the main difference with service name and container name (as far as how if affects users) is where you can use them. Ex: docker restart CONTAINER
and docker compose restart SERVICE
, although I imagine the compose cli is far less used in this way. DS does have a use case for the compose cli, but I'm not sure if we use the docker cli in a way that would conflict.
I'll look into it, but I'm thinking we probably won't make this change even with no conflicts, just to avoid confusion for users.
from dockstarter.
Hi @nemchik, I appreciate the quick feedback.
That's what I'm doing now, but that means I'm manually managing the proxy config files. The SWAG auto-proxy mod uses a label on the container to automatically apply the proxy config. I had dozens of proxy config files, and whenever LSIO updates them all you get is a warning in the SWAG log telling you your copies need to be updated, so I just went through the process of switching all of them to use the auto-proxy mod so I never need to worry about manually updating again, except for two holdouts that won't work because the container names don't match what the mod supports: sabnzbdvpn
needs to have container name sabnzbd
and transmissionvpn
needs to have container name transmission
.
I'm not sure how many people make manual changes in .env
, so unless someone went in and specifically changed the <CONTAINER>_CONTAINER_NAME
variable everything would continue to work like it does now I'd think. For example a lot of containers have variables in .env
for modifying the ports they run on, I see this as similar to that: not likely changed by many users, but useful when you need to.
from dockstarter.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
from dockstarter.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
from dockstarter.
FYI the vpn container that you can route other containers through was added in #473 and you can now use the default container that matches the name swag expects. You'll need an override to setup the container vpn, which I have not tested or experimented with in a few years, but the basic idea is setting the container's network mode to the other container. This can sort of be done without an override, but I believe it does not keep the container visible for swag since it would no longer be on the same docker network as swag, but I believe an override can make it work for both uses.
from dockstarter.
Related Issues (20)
- [Application Request] Kapowarr HOT 3
- [BUG] Rootless docker requires changes to /var/run/docker.sock binding HOT 6
- [BUG] Apprise - Error response from daemon: invalid reference format HOT 1
- Documentation per App - add port/url HOT 1
- Feature request: Include Tandoor Recipes HOT 1
- [Application Request] Navidrome HOT 1
- [Application Request] Kavita HOT 1
- [BUG] Containers installed via override don't inherit system time/timezone HOT 3
- [BUG] calibre-web installs as calibreweb in dockstarter, this breaks swag. HOT 1
- [Application Request] Speedtest Tracker HOT 1
- Migrate from cr.hotio.dev to ghcr.io
- [BUG] Install Broke Linux Mint HOT 2
- [Feature Request] Ability to install in CoreOS HOT 2
- [Application Request] Real-Debrid Client Proxy HOT 1
- [BUG] Unifi Controller image was deprecated by linuxserver.io HOT 1
- Mosquitto docker restarts continuously HOT 1
- Komga container port - 25600 HOT 2
- [BUG] `version` is obsolete warning for two files
- [Feature Request] IPv6 support HOT 1
- Array Items must be unique
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dockstarter.