Get working with docker cli args

This commit is contained in:
Owen Schwartz
2024-09-29 15:14:23 -04:00
parent 8f7f2de645
commit d63ab8336e
5 changed files with 18 additions and 10 deletions

View File

@@ -4,13 +4,14 @@ services:
gerbil:
image: gerbil
container_name: gerbil
command: ["./gerbil", "--config", "/config/gerbil.conf"]
cap_add:
- NET_ADMIN
- SYS_MODULE
volumes:
- ./config:/config
ports:
- 51820:51820/udp
volumes:
- ./config_example.json:/config/config.json
sysctls:
- net.ipv4.conf.all.src_valid_mark=1
restart: unless-stopped
restart: unless-stopped