-
-
Notifications
You must be signed in to change notification settings - Fork 501
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
Feature: Add a production container image to run it on own server. #2031
Comments
You can download the static assets for the build from |
My fist go to is looking for Docker image for any project. But you were right, this was super easy to setup! For other lazy people who arrive here, this is how: mkdir -p ./GraphiteEditor
cd ./GraphiteEditor
# Make docker compose
echo 'services:
webserver:
image: nginx:latest
ports:
- "5656:80"
volumes:
- ./app:/usr/share/nginx/html
' > compose.yml
# Make update script
echo '#!/bin/zsh
rm -rf ./app # Delete old version if exist
wget https://github.com/GraphiteEditor/Graphite/releases/download/latest-stable/graphite-self-hosted-build.zip
unzip ./graphite-self-hosted-build.zip
rm ./graphite-self-hosted-build.zip
mv graphite-* app # Rename' > update.sh
# Pull and start
chmod +x update.sh # Allow execute
./update.sh # Run the update script
docker compose up -d # Start container Done, access on: Note: The extracted folder in named something like |
I do not know if there is on the plan, but should be great to have the oportunity to run the project inside a docker container or in podman, should be great to try to run it locally in an easy way.
It should be great to prepare on the CI/DC Pipeline the publishing of a new image on a container repo, so the comunity can run it locally.
Thank you in advance, also I can get some hands on to help you to acomplish this 👍🏼
The text was updated successfully, but these errors were encountered: