Skip to content

Add macvlan network override example#80

Open
ChiefGyk3D wants to merge 1 commit into
mainfrom
feature/macvlan-example
Open

Add macvlan network override example#80
ChiefGyk3D wants to merge 1 commit into
mainfrom
feature/macvlan-example

Conversation

@ChiefGyk3D

Copy link
Copy Markdown
Owner

Adds docker-compose.macvlan.example.yml for deploying the bot on a Docker macvlan network with a static LAN IP.

What

  • New file: docker-compose.macvlan.example.yml
  • Updated .gitignore to exclude docker-compose.override.yml

Usage

  1. Create a macvlan Docker network on your host
  2. Copy docker-compose.macvlan.example.yml to docker-compose.override.yml
  3. Edit the IP address, DNS, and network name for your environment
  4. Run docker compose up -d — the override is picked up automatically

Systemd Timer Note

If running background tasks via systemd timer services (docker run), the --network and --dns flags need to be added to each timer service file separately — the compose override only applies to docker 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.

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.
@github-actions

github-actions Bot commented Mar 6, 2026

Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant