2024-01-01 11:21:22 +01:00
|
|
|
name: sshuttle-testbed
|
|
|
|
|
|
|
|
services:
|
|
|
|
node-1:
|
|
|
|
image: ghcr.io/sshuttle/sshuttle-testbed
|
|
|
|
container_name: sshuttle-testbed-node-1
|
|
|
|
hostname: node-1
|
|
|
|
cap_add:
|
|
|
|
- "NET_ADMIN"
|
|
|
|
environment:
|
2024-01-02 18:43:06 +01:00
|
|
|
- ADD_IP_ADDRESSES=10.55.1.77/24
|
|
|
|
networks:
|
|
|
|
default:
|
|
|
|
ipv6_address: 2001:0DB8::551
|
2024-01-01 11:21:22 +01:00
|
|
|
node-2:
|
|
|
|
image: ghcr.io/sshuttle/sshuttle-testbed
|
|
|
|
container_name: sshuttle-testbed-node-2
|
|
|
|
hostname: node-2
|
|
|
|
cap_add:
|
|
|
|
- "NET_ADMIN"
|
|
|
|
environment:
|
2024-01-02 18:43:06 +01:00
|
|
|
- ADD_IP_ADDRESSES=10.55.2.77/32
|
|
|
|
networks:
|
|
|
|
default:
|
|
|
|
ipv6_address: 2001:0DB8::552
|
2024-01-01 11:21:22 +01:00
|
|
|
|
|
|
|
networks:
|
|
|
|
default:
|
|
|
|
driver: bridge
|
2024-01-02 18:43:06 +01:00
|
|
|
enable_ipv6: true
|
|
|
|
ipam:
|
|
|
|
config:
|
|
|
|
- subnet: 2001:0DB8::/112
|
2024-01-01 17:42:17 +01:00
|
|
|
# internal: true
|