Nodejs and VueJs File explorer
Note: You need docker-compose
To start all 2 containers and having the reverse proxy listening on port 80:
docker-compose up -dIt create 2 dockers:
- server: the core node.js server.
Note: the folder to share is defined on .env file
- reverse-proxy: A nginx reverse-proxy.
Note: the port is defined on .env file
Install npm dependences :
npm install
Start the serveur:
npm run
You can change the $PORT environment variable (defaut: 3000)
env PORT=80
You can change the $FOLDER environment variable (defaut: ./share)
env FOLDER=/path/to/the/folder