This commit is contained in:
Leopere committed 2018-11-29 19:14:02 +00:00
1 parent 5ecc8865a9
commit 3cc799d5fe
4 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -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
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 lbrynetwork`
`docker network create -d bridge --subnet=10.6.1.0/16 lbry-network`
## Make directories and set permissions
+3 -3
View File
@@ -1,7 +1,7 @@
version: '3.4'
networks:
lbrynetwork:
lbry-network:
external: true
services:
@@ -14,7 +14,7 @@ services:
image: mysql:5.7.23
restart: always
networks:
lbrynetwork:
lbry-network:
ipv4_address: 10.6.1.10
aliases:
- mysql
@@ -39,7 +39,7 @@ services:
target: app
restart: always
networks:
lbrynetwork:
lbry-network:
ipv4_address: 10.6.1.3
env_file:
- .env
+2 -2
View File
@@ -1,7 +1,7 @@
version: '3.4'
networks:
lbrynetwork:
lbry-network:
external: true
services:
@@ -12,7 +12,7 @@ services:
build: .
restart: always
networks:
lbrynetwork:
lbry-network:
ipv4_address: 10.6.1.2
labels:
- "traefik.expose=false"
+1 -1
View File
@@ -1,2 +1,2 @@
#!/usr/bin/env bash
docker network create -d bridge --subnet=10.6.1.0/16 lbrynetwork
docker network create -d bridge --subnet=10.6.1.0/16 lbry-network