Lodestone-Team / lodestone_core

The backend for Lodestone, A free, open source server hosting tool for Minecraft and other multiplayers
https://www.lodestone.cc/
GNU Affero General Public License v3.0
60 stars 7 forks source link

docker support #103

Closed haq closed 1 year ago

haq commented 1 year ago

Description

Added support for building and publishing a docker image to GitHub container registry. If accepted, you will need to create a secret named PACKAGES_ACCESS_TOKEN. Furthermore, an update will be required to the documentation to include instructions on how to run the image.

docker volume create lodestone
docker run -d \
  --name lodestone \
  --restart unless-stopped \
  -p 16662:16662 \
  -v lodestone:/root/.lodestone \
  ghcr.io/Lodestone-Team/lodestone_core

Type of change

Note: make sure your files are formatted with rust-analyzer

haq commented 1 year ago

Any reason for preference of GitHub's Container Registry over say Docker Hub?

Since the source is hosted on GitHub, no reason to not host the images in the same place.