Changed network name to avoid string collision
This commit is contained in:
parent
f262867d77
commit
5ecc8865a9
4 changed files with 7 additions and 7 deletions
|
@ -46,7 +46,7 @@ You only need external networking if you plan on keeping your docker-compose fil
|
||||||
For the sake of modularity in the design of this git repository the plan is to give you examples to try and then you're supposed to move towards your own custom docker-compose configuration. We're going to create
|
For the sake of modularity in the design of this git repository the plan is to give you examples to try and then you're supposed to move towards your own custom docker-compose configuration. We're going to create
|
||||||
a docker bridge network that is going to be managed externally to your usual docker-compose networks which are compose internal.
|
a docker bridge network that is going to be managed externally to your usual docker-compose networks which are compose internal.
|
||||||
|
|
||||||
`docker network create -d bridge --subnet=10.6.1.0/16 lbrynet`
|
`docker network create -d bridge --subnet=10.6.1.0/16 lbrynetwork`
|
||||||
|
|
||||||
## Make directories and set permissions
|
## Make directories and set permissions
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
version: '3.4'
|
version: '3.4'
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
lbrynet:
|
lbrynetwork:
|
||||||
external: true
|
external: true
|
||||||
|
|
||||||
services:
|
services:
|
||||||
|
@ -14,7 +14,7 @@ services:
|
||||||
image: mysql:5.7.23
|
image: mysql:5.7.23
|
||||||
restart: always
|
restart: always
|
||||||
networks:
|
networks:
|
||||||
lbrynet:
|
lbrynetwork:
|
||||||
ipv4_address: 10.6.1.10
|
ipv4_address: 10.6.1.10
|
||||||
aliases:
|
aliases:
|
||||||
- mysql
|
- mysql
|
||||||
|
@ -39,7 +39,7 @@ services:
|
||||||
target: app
|
target: app
|
||||||
restart: always
|
restart: always
|
||||||
networks:
|
networks:
|
||||||
lbrynet:
|
lbrynetwork:
|
||||||
ipv4_address: 10.6.1.3
|
ipv4_address: 10.6.1.3
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- .env
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
version: '3.4'
|
version: '3.4'
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
lbrynet:
|
lbrynetwork:
|
||||||
external: true
|
external: true
|
||||||
|
|
||||||
services:
|
services:
|
||||||
|
@ -12,7 +12,7 @@ services:
|
||||||
build: .
|
build: .
|
||||||
restart: always
|
restart: always
|
||||||
networks:
|
networks:
|
||||||
lbrynet:
|
lbrynetwork:
|
||||||
ipv4_address: 10.6.1.2
|
ipv4_address: 10.6.1.2
|
||||||
labels:
|
labels:
|
||||||
- "traefik.expose=false"
|
- "traefik.expose=false"
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
docker network create -d bridge --subnet=10.6.1.0/16 lbrynet
|
docker network create -d bridge --subnet=10.6.1.0/16 lbrynetwork
|
||||||
|
|
Loading…
Reference in a new issue