1
0
mirror of https://github.com/falk-werner/webfuse-example synced 2024-10-27 20:44:09 +00:00
Go to file
Falk Werner 22bac55d46
Merge pull request #4 from falk-werner/nginx
Simplified Example

- enhanced capabilities of example (most ca be viewed in browser)
- added nginx to serve HTML, JS, CSS, CGI
- added fcgiwrap to access CGI scripts
- cleanup temporary npm files
2020-04-11 19:30:44 +02:00
etc simplified example 2020-04-11 19:15:40 +02:00
www simplified example 2020-04-11 19:15:40 +02:00
.gitignore use webfuse-js 2020-04-11 10:56:17 +02:00
.travis.yml fix: fixed docker build command 2020-02-09 20:29:54 +01:00
Dockerfile fixed cleanup of temporary npm directories 2020-04-11 19:25:18 +02:00
LICENSE Initial commit 2020-02-09 19:02:29 +01:00
README.md simplified example 2020-04-11 19:15:40 +02:00

Build Status

webfuse-example

Example of webfuse.

Build

docker build --rm --build-arg "USERID=`id -u`" --tag webfuse .

Run

docker run -p 8080:8080 --rm -it \
  --device /dev/fuse --cap-add SYS_ADMIN --security-opt apparmor:unconfined \
  webfuse

Open a webbrowser, visit http://localhost:8080 and follow the instruction on the screen.

Once connected, you can also display the provided filesystem inside the container.

cat /tmp/test/hello.txt

Logging

To view log messages from webfuse, open another terminal an conntect to the container.
Log files can be found in /var/log/socklog/daemon directory.

docker exec -it <container> bash
tail -f /var/log/socklog/daemon/current

Fellow Repositories

Further Reading