[add] docker compose

This commit is contained in:
oldnick85
2023-11-06 12:41:18 +03:00
parent 3fe30aa6dd
commit 8e0723b3cc
2 changed files with 24 additions and 8 deletions
+24
View File
@@ -0,0 +1,24 @@
version: "3.3"
services:
# I2PD_YGGDRASIL
i2pd_yggdrasil:
image: i2pd_yggdrasil:latest
container_name: i2pd_yggdrasil
privileged: true
cap_add:
- NET_ADMIN
devices:
- /dev/net/tun:/dev/net/tun
ports:
- "2827:2827"
- "4444:4444"
- "4447:4447"
- "7070:7070"
- "7650:7650"
- "7654:7654"
- "7656:7656"
- "10765:10765"
- "10654:10654"
- "9001:9001"
-8
View File
@@ -1,8 +0,0 @@
#!/bin/bash
docker run --rm -d \
--device=/dev/net/tun \
-p 2827:2827 -p 4444:4444 -p 4447:4447 -p 7070:7070 -p 7650:7650 -p 7654:7654 -p 7656:7656 -p 10765:10765 \
-p 10654:10654 -p 9001:9001 \
--cap-add=NET_ADMIN --privileged \
--name i2p_yggdrasil \
i2pd_yggdrasil:latest