Skip to content

Instantly share code, notes, and snippets.

@xupefei
Last active December 19, 2025 14:44
Show Gist options
  • Select an option

  • Save xupefei/452e8e4ee33e1328c5f985b5b07b074c to your computer and use it in GitHub Desktop.

Select an option

Save xupefei/452e8e4ee33e1328c5f985b5b07b074c to your computer and use it in GitHub Desktop.
Debian 13 + Podman compose + macvlan + DHCP
services:
scrypted:
image: ghcr.io/koush/scrypted:intel
container_name: scrypted
hostname: scrypted
restart: always
networks:
- scrypted
mac_address: "xx-xx-xx-xx-xx-xx" # optional
environment:
- SCRYPTED_DOCKER_AVAHI=true
volumes:
- ./volume:/server/volume
devices:
- /dev/dri:/dev/dri
logging:
driver: "none"
networks:
scrypted:
name: scrypted
driver: macvlan
driver_opts:
parent: enp2s0
ipam:
driver: dhcp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment