This commit is contained in:
Matthew Bryant (mandatory)
2020-04-27 12:54:04 -07:00
parent c06a5334c0
commit 90b58f170e
4 changed files with 5 additions and 6 deletions
+2 -2
View File
@@ -26,8 +26,8 @@ COPY server.js /work/
COPY database.js /work/
COPY docker-entrypoint.sh /work/
RUN npm install -g nodemon
# For debugging/hot-reloading
#RUN npm install -g nodemon
ENTRYPOINT ["/work/docker-entrypoint.sh"]
#ENTRYPOINT ["node", "/work/server.js"]
#ENTRYPOINT ["tail", "-f", "/dev/null"]
+1 -1
View File
@@ -37,7 +37,7 @@ This is also especially useful for locked down orgs that make use of [Chrome OS]
* [`docker`](https://docs.docker.com/get-docker/) and [`docker-compose`](https://docs.docker.com/compose/install/)
* Chrome web browser
# Installation & Setup
# Installation & Setup (~5-10 Minutes)
## Setting Up the Backend
+1 -2
View File
@@ -14,7 +14,6 @@ services:
build: .
volumes:
- ./ssl:/work/cassl
- ./api-server.js:/work/api-server.js
depends_on:
- db
- redis
@@ -30,4 +29,4 @@ services:
ports:
- "127.0.0.1:8080:8080" # Proxy server
- "127.0.0.1:4343:4343" # WebSocket server (talks with implants)
- "127.0.0.1:8118:8118" # Web panel
- "127.0.0.1:8118:8118" # Web panel
+1 -1
View File
@@ -1,3 +1,3 @@
#!/bin/bash
cp /work/ssl/* /work/cassl/
nodemon node /work/server.js
node /work/server.js