switch to taking config by env

To help with ease of deployment, configuration now is administered through the use of environment variables.
This allows for easy configuration directly from the docker-compose file and is a much more robust solution.
This commit is contained in:
Thomas Hobson 2021-05-07 21:11:36 +12:00
parent fb102ebe83
commit 972228412a
No known key found for this signature in database
GPG key ID: 9F1FD9D87950DB6F
6 changed files with 72 additions and 451 deletions

View file

@ -25,6 +25,6 @@ COPY ./src ./src
RUN make -C ./src/nosocket/ all && make -C ./src/nosocket/ install
CMD [ "node", "src", "-m", "-c", "/piston/config.yaml"]
CMD [ "node", "src"]
EXPOSE 2000/tcp