Updating IP's to further avoid collisions
This commit is contained in:
parent
a26e3ca9f2
commit
3fdf664926
9 changed files with 14 additions and 11 deletions
|
@ -1,2 +1,5 @@
|
|||
COMPOSE_PROJECT_NAME=chainquery
|
||||
RPC_USER=${RPC_USER=lbryrpc}
|
||||
RPC_PASSWORD=${RPC_PASSWORD:-$(env LC_CTYPE=C LC_ALL=C tr -dc A-Za-z0-9 < /dev/urandom | head -c 16 | xargs)}
|
||||
## This should be the internal container IP from which you'll be calling the RPC for Lbrycrdd from.
|
||||
RPC_ALLOW_IP=${RPC_ALLOW_IP:-10.6.0.2}
|
||||
|
|
|
@ -2,4 +2,4 @@ COMPOSE_PROJECT_NAME=lbrycrd
|
|||
RPC_USER=${RPC_USER=lbryrpc}
|
||||
RPC_PASSWORD=${RPC_PASSWORD:-$(env LC_CTYPE=C LC_ALL=C tr -dc A-Za-z0-9 < /dev/urandom | head -c 16 | xargs)}
|
||||
## This should be the internal container IP from which you'll be calling the RPC for Lbrycrdd from.
|
||||
RPC_ALLOW_IP=${RPC_ALLOW_IP:-10.5.0.2}
|
||||
RPC_ALLOW_IP=${RPC_ALLOW_IP:-10.6.0.2}
|
||||
|
|
|
@ -13,7 +13,7 @@ services:
|
|||
restart: always
|
||||
networks:
|
||||
lbrynet
|
||||
ipv4_address: 10.5.0.1
|
||||
ipv4_address: 10.6.0.1
|
||||
labels:
|
||||
- "traefik.expose=false"
|
||||
expose:
|
||||
|
|
|
@ -15,5 +15,5 @@ rm -f /var/run/lbrycrdd.pid
|
|||
-printtoconsole \
|
||||
-rpcport=${RPC_PORT:-9245} \
|
||||
-rpcpassword=${RPC_PASSWORD:-changeme} \
|
||||
-rpcallowip=${RPC_ALLOW_IP:-10.5.0.2} \
|
||||
-rpcallowip=${RPC_ALLOW_IP:-10.6.0.2} \
|
||||
-rpcuser=${RPC_USER:-lbryrpc}
|
||||
|
|
|
@ -13,7 +13,7 @@ services:
|
|||
restart: always
|
||||
networks:
|
||||
lbrynet
|
||||
ipv4_address: 10.5.0.3
|
||||
ipv4_address: 10.6.0.3
|
||||
labels:
|
||||
- "traefik.expose=false"
|
||||
ports:
|
||||
|
|
|
@ -15,7 +15,7 @@ services:
|
|||
command: --api --docker --docker.domain=docker.localhost --logLevel=DEBUG
|
||||
networks:
|
||||
lbrynet
|
||||
ipv4_address: 10.5.0.100
|
||||
ipv4_address: 10.6.0.100
|
||||
ports:
|
||||
- target: 80
|
||||
published: 80
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#!/bin/bash
|
||||
docker network create -d bridge --subnet=10.5.0.10/16 lbrynet
|
||||
docker network create -d bridge --subnet=10.6.0.0/16 lbrynet
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
COMPOSE_PROJECT_NAME=speech
|
||||
## This value can generally be left alone in a default setup.
|
||||
MYSQL_SERVER=10.5.0.8
|
||||
MYSQL_SERVER=10.6.0.8
|
||||
## Update the rest of these if possible.
|
||||
MYSQL_USER=replaceme
|
||||
MYSQL_PASSWORD=REPLACEME
|
||||
|
|
|
@ -19,7 +19,7 @@ services:
|
|||
- ./data/speech:/data
|
||||
networks:
|
||||
green:
|
||||
ipv4_address: 10.5.0.6
|
||||
ipv4_address: 10.6.0.6
|
||||
aliases:
|
||||
- speech
|
||||
|
||||
|
@ -47,7 +47,7 @@ services:
|
|||
- ./data/lbrynet:/data
|
||||
networks:
|
||||
green:
|
||||
ipv4_address: 10.5.0.7
|
||||
ipv4_address: 10.6.0.7
|
||||
aliases:
|
||||
- lbrynet
|
||||
|
||||
|
@ -74,7 +74,7 @@ services:
|
|||
- ./data/db:/var/lib/mysql
|
||||
networks:
|
||||
green:
|
||||
ipv4_address: 10.5.0.8
|
||||
ipv4_address: 10.6.0.8
|
||||
aliases:
|
||||
- mysql
|
||||
|
||||
|
@ -86,4 +86,4 @@ networks:
|
|||
driver: bridge
|
||||
ipam:
|
||||
config:
|
||||
- subnet: 10.5.0.0/16
|
||||
- subnet: 10.6.0.0/16
|
||||
|
|
Loading…
Reference in a new issue