Compare commits

...

2 commits

Author SHA1 Message Date
Leopere dbb3ae747b adding todo items for docker-compose.yml in spee.ch container 2018-11-26 23:25:24 +00:00
Leopere 1dd0e6c333 Added TODO and updated paths 2018-11-26 23:21:48 +00:00
6 changed files with 16 additions and 9 deletions

View file

@ -20,14 +20,16 @@ RUN wget -quiet -O /usr/bin/debugpaste https://github.com/nixc-us/debugpaste-it/
## Install container support files
RUN curl -s https://raw.githubusercontent.com/leopere/docker-support/master/install | /bin/sh
COPY docker-entrypoint.sh /usr/local/bin/docker-entrypoint
COPY healthcheck.sh /usr/local/bin/healthcheck
COPY debugpaste-it.sh /usr/local/bin/debugpaste-it
COPY ./stuff/docker-entrypoint.sh /usr/local/bin/docker-entrypoint
COPY ./stuff/healthcheck.sh /usr/local/bin/healthcheck
COPY ./stuff/debugpaste-it.sh /usr/local/bin/debugpaste-it
HEALTHCHECK CMD healthcheck
## TODO: Add debug and stabilize a reasonable HEALTHCHECK
# HEALTHCHECK CMD healthcheck
EXPOSE 3000
USER speech
WORKDIR /app/
ENTRYPOINT ["docker-entrypoint"]
## TODO: Add start.sh into $PATH
CMD ["npm", "run", "start:dev"]

View file

@ -18,10 +18,12 @@ services:
volumes:
- ./data/speech:/data
networks:
green:
ipv4_address: 10.5.1.6
aliases:
- speech
- lbrynet
## TODO: Determine if we need static internal networking, I highly doubt it's required.
# lbrynet:
# ipv4_address: 10.5.1.6
# aliases:
# - speech
#############
## Lbrynet ##
@ -31,6 +33,7 @@ services:
context: ../lbrynet-daemon/
dockerfile: Dockerfile
restart: always
## TODO: Pull from environment file instead of environment variables in this file.
environment:
## These variables are stored in the .env file next to this docker-compose.yml file.
## I will include a default .env file and .gitignore the ".env" pattern so you should be able to just git pull in the future if you need to.
@ -51,6 +54,7 @@ services:
aliases:
- lbrynet
## TODO: Determine whether or not it's required to have a completely separate SQL database or if we're just going to use the Chainquery SQL database. If its not the same data it should be in it's own daemon.
#############
## MariaDB ##
#############
@ -78,6 +82,7 @@ services:
aliases:
- mysql
## TODO: Update networking to lbrynet container network.
#########################
## Network Definitions ##
#########################