-
-
Notifications
You must be signed in to change notification settings - Fork 198
Docker
Massimo Melina edited this page Apr 3, 2024
·
7 revisions
You can run HFS in Docker: docker run -p 8000:80 -it --rm node:alpine npx -y hfs@latest
Consider replacing @latest with @beta if you are bold enough.
Now you should be able to point your browser at http://localhost:8000/
.
Now you won't be able to access Admin-panel without an account, so go to the docker container terminal, where you should see something like this
![image](https://private-user-images.githubusercontent.com/1367199/319136886-edeb9a2c-dac4-4b8c-b480-dd911d05be19.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ2Nzc2NTIsIm5iZiI6MTcyNDY3NzM1MiwicGF0aCI6Ii8xMzY3MTk5LzMxOTEzNjg4Ni1lZGViOWEyYy1kYWM0LTRiOGMtYjQ4MC1kZDkxMWQwNWJlMTkucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDgyNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA4MjZUMTMwMjMyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9M2E3NTk0NjQ4NDhkZTIxODFhZGFkNjM1Y2NhMmI4N2M2ZWZmMTVjYWU1N2U0YmRlZDllNGMzZTYxZmZiNWJjNyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.dEJqa1ZoKZ5Dx9j3jOIy3FZGiVLGv__ER8sSuWD0j_s)
and enter command create-admin YOUR_PASSWORD
.
Now go back to your HFS web page and click "Login", with username admin
and your password. Now click Options and then click "Admin-panel".
![image](https://private-user-images.githubusercontent.com/1367199/319138239-dfd9cbb7-51e0-4cd4-a4e2-be579725df44.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ2Nzc2NTIsIm5iZiI6MTcyNDY3NzM1MiwicGF0aCI6Ii8xMzY3MTk5LzMxOTEzODIzOS1kZmQ5Y2JiNy01MWUwLTRjZDQtYTRlMi1iZTU3OTcyNWRmNDQucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDgyNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA4MjZUMTMwMjMyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZDg5NWFlYjBiNWU4NjljZTY0NjZkNjAwMjU1ODJmODJiZjZjYjdmMmZlZTJiMGMzYjBjN2NlMDhlY2Y3Mzg2NSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.s_MWjULGJmUFkaPuQh5lAW6oJfHb9afYMF-3mP13uBw)
You'll probably want to share files that are somewhere outside this container. Please refer to Docker's documentation on how to do that.