-
-
Notifications
You must be signed in to change notification settings - Fork 7
[Feature]: Docker Image #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
tried a dockerfile with: FROM alpine/git:latest and it's working. There seems to be only an issue with the loading of posts ( SyntaxError: import declarations may only appear at top level of a module in src/worker/ApiServiceWorker?type=module&worker_file ) |
|
great, "npm run build && npm run preview -- --host 0.0.0.0 --port 80" did work :-) is it possible to automatically store a backup of the indexed-db on the server ? ( maybe with https://www.npmjs.com/package/vite-plugin-fs ? ) |
the only other things for a docker-image would be the option to customize the proxy-urls in this repo (maybe settings->proxy with a verify and save button ?) and the proxy-repo |
Yes, since both material-e621/src/services/PersistanceService.ts Lines 29 to 32 in bdbdea1
material-e621/src/services/PersistanceService.ts Lines 33 to 43 in bdbdea1
|
i managed to do that :-) i think i need to create a fork for a private version of this |
Added a nginx-version to his pull request |
Thanks for all the input. I used your dockerfile as starting point, but ended up changing quite a bit. Let me know if any of the changes in cc751c8 or 534b7b7 don't work for you. https://github.com/avoonix/material-e621/pkgs/container/material-e621 Instructions: sudo docker run -d -p 8080:80 ghcr.io/avoonix/material-e621:latest or version: "3"
services:
app:
image: ghcr.io/avoonix/material-e621:latest
# if you want to build it yourself, replace `image` with `build`
# build:
# context: .
# dockerfile: Dockerfile
ports:
- 8080:80 |
Create a docker image for easier self hosting #2
The text was updated successfully, but these errors were encountered: