i2pd. Some updates and comments for ports.

This commit is contained in:
Alexey Skobkin 2022-03-13 03:31:10 +03:00
parent 673a9cb10c
commit 26f2551cbb

View file

@ -1,4 +1,5 @@
# https://github.com/PurpleI2P/i2pd/blob/openssl/contrib/docker/Dockerfile # https://github.com/PurpleI2P/i2pd/blob/openssl/contrib/docker/Dockerfile
# https://i2pd.readthedocs.io/en/latest/user-guide/configuration/
version: '3.7' version: '3.7'
@ -10,16 +11,24 @@ services:
#- "./config:/config" #- "./config:/config"
- "${HOST_DATA_DIR}:${DATA_DIR}" - "${HOST_DATA_DIR}:${DATA_DIR}"
ports: ports:
# Web interface
- "7070:7070/tcp" - "7070:7070/tcp"
# HTTP Proxy
- "4444:4444/tcp" - "4444:4444/tcp"
# SOCKS proxy
- "4447:4447/tcp" - "4447:4447/tcp"
# SAM bridge
- "7656:7656/tcp" - "7656:7656/tcp"
- "2827:2827/tcp" # BOB command channel
#- "2827:2827/tcp"
# I2CP server
- "7654:7654/tcp" - "7654:7654/tcp"
# I2P control service
- "7650:7650/tcp" - "7650:7650/tcp"
env_file: .env env_file: .env
network_mode: host
restart: unless-stopped restart: unless-stopped
user: "${HOST_USER:-}" user: "${HOST_USER:-0}"
logging: logging:
driver: "json-file" driver: "json-file"
options: options: