Add macvlan network override example#80
Open
ChiefGyk3D wants to merge 1 commit into
Open
Conversation
Provides docker-compose.macvlan.example.yml for deploying the bot on a Docker macvlan network with a static LAN IP. Also adds docker-compose.override.yml to .gitignore. Note: If using systemd timer services (docker run), the --network and --dns flags must be added to each timer service file separately. Copy to docker-compose.override.yml and customize for your setup.
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Scanned FilesNone |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
docker-compose.macvlan.example.ymlfor deploying the bot on a Docker macvlan network with a static LAN IP.What
docker-compose.macvlan.example.yml.gitignoreto excludedocker-compose.override.ymlUsage
docker-compose.macvlan.example.ymltodocker-compose.override.ymldocker compose up -d— the override is picked up automaticallySystemd Timer Note
If running background tasks via systemd timer services (
docker run), the--networkand--dnsflags need to be added to each timer service file separately — the compose override only applies todocker compose up.Why
Useful for VLAN-segmented setups where the container needs its own IP on the LAN. This is optional — the default bridge networking continues to work as before.