docker-stacks/i2pd/docker-compose.yml

37 lines
874 B
YAML
Raw Normal View History

2022-02-25 16:52:50 +00:00
# https://github.com/PurpleI2P/i2pd/blob/openssl/contrib/docker/Dockerfile
# https://i2pd.readthedocs.io/en/latest/user-guide/configuration/
2022-02-25 16:52:50 +00:00
version: '3.7'
services:
i2pd:
image: purplei2p/i2pd
container_name: i2pd
volumes:
#- "./config:/config"
- "${HOST_DATA_DIR}:${DATA_DIR}"
ports:
# Web interface
2022-02-25 16:52:50 +00:00
- "7070:7070/tcp"
# HTTP Proxy
2022-02-25 16:52:50 +00:00
- "4444:4444/tcp"
# SOCKS proxy
2022-02-25 16:52:50 +00:00
- "4447:4447/tcp"
# SAM bridge
2022-02-25 16:52:50 +00:00
- "7656:7656/tcp"
# BOB command channel
#- "2827:2827/tcp"
# I2CP server
2022-02-25 16:52:50 +00:00
- "7654:7654/tcp"
# I2P control service
2022-02-25 16:52:50 +00:00
- "7650:7650/tcp"
env_file: .env
network_mode: host
2022-02-25 16:52:50 +00:00
restart: unless-stopped
user: "${HOST_USER:-0}"
2022-02-25 16:52:50 +00:00
logging:
driver: "json-file"
options:
max-size: "${LOG_MAX_SIZE:-5m}"
max-file: "${LOG_MAX_FILE:-5}"