Skip to content

Commit

Permalink
Don't use privelaged
Browse files Browse the repository at this point in the history
  • Loading branch information
ryardley committed Nov 25, 2024
1 parent c7257c3 commit 5d02f80
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions packages/ciphernode/net/tests/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ services:
DIAL_TO: "/ip4/172.16.238.12/udp/9091/quic-v1"
BLOCK_MDNS: ${BLOCK_MDNS:-false}
entrypoint: ["/app/entrypoint.sh"]
privileged: true
cap_add:
- NET_ADMIN
- NET_RAW

bob:
build:
Expand All @@ -27,7 +29,9 @@ services:
DIAL_TO: "/ip4/172.16.238.12/udp/9091/quic-v1"
BLOCK_MDNS: ${BLOCK_MDNS:-false}
entrypoint: ["/app/entrypoint.sh"]
privileged: true
cap_add:
- NET_ADMIN
- NET_RAW


charlie:
Expand All @@ -42,7 +46,9 @@ services:
QUIC_PORT: 9091
BLOCK_MDNS: ${BLOCK_MDNS:-false}
entrypoint: ["/app/entrypoint.sh"]
privileged: true
cap_add:
- NET_ADMIN
- NET_RAW


networks:
Expand Down

0 comments on commit 5d02f80

Please sign in to comment.