mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-21 12:36:28 +02:00
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:
parent
fb102ebe83
commit
972228412a
6 changed files with 72 additions and 451 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue