mirror of https://github.com/lukechilds/umbrel.git
Mayank Chhabra
5 years ago
committed by
GitHub
10 changed files with 170 additions and 84 deletions
@ -0,0 +1,17 @@ |
|||||
|
# Docker network setup |
||||
|
|
||||
|
This is the current network setup for docker-compose. You can also refer to them by name as well within the containers (eventually this will happen). An alternate mirror can be found [here](https://github.com/getumbrel/umbrel-compose/wiki/Docker-Compose-networking). |
||||
|
|
||||
|
## Default configuration |
||||
|
|
||||
|
**Subnet mask:** 10.11.0.0/16 (10.11.* range for those who don't speak CIDR) |
||||
|
|
||||
|
Box | IP Address | |
||||
|
-----------| -----------| |
||||
|
tor | 10.11.5.1 | |
||||
|
nginx | 10.11.0.2 | |
||||
|
bitcoin | 10.11.1.1 | |
||||
|
lnd | 10.11.1.2 | |
||||
|
dashboard | 10.11.0.3 | |
||||
|
manager | 10.11.2.1 | |
||||
|
middleware | 10.11.2.2 | |
@ -1,10 +0,0 @@ |
|||||
FROM alpine:3.11 |
|
||||
|
|
||||
RUN apk add --no-cache tor |
|
||||
|
|
||||
VOLUME /etc/tor/ |
|
||||
VOLUME /var/lib/tor/ |
|
||||
|
|
||||
EXPOSE 9050 9051 29050 29051 |
|
||||
|
|
||||
ENTRYPOINT ["tor"] |
|
@ -1,21 +0,0 @@ |
|||||
ARG IMG |
|
||||
ARG VER |
|
||||
|
|
||||
FROM ${IMG}:${VER} |
|
||||
|
|
||||
ARG ID=1000 |
|
||||
ARG DIR=/data/ |
|
||||
|
|
||||
RUN addgroup --gid ${ID} lncm |
|
||||
|
|
||||
RUN adduser --uid ${ID} \ |
|
||||
--home ${DIR} \ |
|
||||
--disabled-password \ |
|
||||
--gecos "" \ |
|
||||
--ingroup lncm \ |
|
||||
lncm |
|
||||
|
|
||||
USER lncm |
|
||||
|
|
||||
VOLUME ${DIR} |
|
||||
|
|
@ -1,7 +1,6 @@ |
|||||
SocksPort 29050 |
# Bind only to "10.11.5.1" which is the tor IP within the container |
||||
ControlPort 29051 |
SocksPort 10.11.5.1:29050 |
||||
|
ControlPort 10.11.5.1:29051 |
||||
# Cookie Authentication |
|
||||
CookieAuthentication 1 |
|
||||
|
|
||||
|
|
||||
|
# Tor Passwords |
||||
|
HashedControlPassword 16:50A873DF18C00F4A6048BF1CEF7E7AA66478F0B5134DA4369D80657F26 |
Loading…
Reference in new issue