diff options
-rw-r--r-- | Dockerfile | 2 | ||||
-rw-r--r-- | README.md | 2 | ||||
-rwxr-xr-x | start.sh | 1 | ||||
-rwxr-xr-x | stop.sh | 1 |
4 files changed, 4 insertions, 2 deletions
@@ -58,5 +58,5 @@ RUN /start.sh \ && cd /root/lava-server && /root/lava-server/share/debian-dev-build.sh -p lava-server \ && /stop.sh -EXPOSE 22 80 5555 5556 +EXPOSE 69 80 5555 5556 CMD /start.sh && bash @@ -12,6 +12,6 @@ sudo docker build -t lava . To run the image from a host terminal / command line execute the following: ``` -sudo docker run -it -v /dev:/dev -p 80:80 -p 5555:5555 -p 5556:5556 -h <HOSTNAME> --privileged lava +sudo docker run -it -v /dev:/dev -p 69:69 -p 80:80 -p 5555:5555 -p 5556:5556 -h <HOSTNAME> --privileged lava ``` Where HOSTNAME is the hostname used during the container build process (check the docker build log), as that is the name used for the worker configuration. You can use `lava-docker` as the pre-built container hostname. @@ -30,6 +30,7 @@ start lava-server start lava-master start lava-slave start lava-server-gunicorn +start tftpd-hpa postgres-ready service apache2 reload #added after the website not running a few times on boot @@ -6,3 +6,4 @@ service lava-server stop service lava-server-gunicorn stop service apache2 stop service postgresql stop +service tftpd-hpa stop |