Simplified VOLUMES
Implimented build contexts properly
This commit is contained in:
parent
426385d48e
commit
35398103fc
1 changed files with 9 additions and 5 deletions
|
@ -8,12 +8,14 @@ services:
|
||||||
## Speech ##
|
## Speech ##
|
||||||
############
|
############
|
||||||
spee.ch:
|
spee.ch:
|
||||||
build: .
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: Dockerfile
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- 3000:3000
|
- 3000:3000
|
||||||
volumes:
|
volumes:
|
||||||
- ./www.spee.ch/data:/data
|
- ../data/spee.ch:/data
|
||||||
networks:
|
networks:
|
||||||
green:
|
green:
|
||||||
ipv4_address: 10.5.0.6
|
ipv4_address: 10.5.0.6
|
||||||
|
@ -24,14 +26,16 @@ services:
|
||||||
## Lbrynet ##
|
## Lbrynet ##
|
||||||
#############
|
#############
|
||||||
lbrynet:
|
lbrynet:
|
||||||
build: ../lbrynet-daemon/.
|
build:
|
||||||
|
context: ../lbrynet-daemon/
|
||||||
|
dockerfile: Dockerfile
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- 4444:4444
|
- 4444:4444
|
||||||
- 50001:50001
|
- 50001:50001
|
||||||
## host volumes for persistent data such as wallet private keys.
|
## host volumes for persistent data such as wallet private keys.
|
||||||
volumes:
|
volumes:
|
||||||
- ../lbrynet-daemon/docker/data/:/data
|
- ../data/lbrynet:/data
|
||||||
networks:
|
networks:
|
||||||
green:
|
green:
|
||||||
ipv4_address: 10.5.0.7
|
ipv4_address: 10.5.0.7
|
||||||
|
@ -56,7 +60,7 @@ services:
|
||||||
ports:
|
ports:
|
||||||
- 3306:3306
|
- 3306:3306
|
||||||
# volumes:
|
# volumes:
|
||||||
# - ./data/db:/var/lib/mysql
|
# - ../data/db:/var/lib/mysql
|
||||||
networks:
|
networks:
|
||||||
green:
|
green:
|
||||||
ipv4_address: 10.5.0.8
|
ipv4_address: 10.5.0.8
|
||||||
|
|
Loading…
Reference in a new issue