diff --git a/docker-compose.yml b/docker-compose.yml index 30fc441..512a8c7 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -4,10 +4,11 @@ services: i2p: image: geti2p/i2p container_name: i2p + restart: unless-stopped ports: - # Automatically exposed to localhost: 4444-4445/tcp, 6668/tcp, 7654/tcp, 7656-7660/tcp - - ${EXT_PORT:?host port must be manually set}:12345/tcp - - ${EXT_PORT:?host port must be manually set}:12345/udp + # Automatically exposed locally: 4444-4445/tcp, 6668/tcp, 7654/tcp, 7656-7660/tcp + - ${EXT_PORT}:${EXT_PORT}/tcp + - ${EXT_PORT}:${EXT_PORT}/udp volumes: - ${PWD}/i2pconfig:/i2p/.i2p:rw # Mandatory configs - ${PWD}/i2ptorrents:/i2psnark:rw # Torrenting support