-
-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Docs and releases * added specific files for package * added readme * moved odin.md to README.md in odin folder * http-server to huginn * ignore files
- Loading branch information
Showing
22 changed files
with
250 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,5 @@ | |
target/ | ||
tmp/ | ||
docs/ | ||
.github/ | ||
.run | ||
|
||
release/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,4 @@ target/ | |
tmp/ | ||
*.env* | ||
docker-compose.*.yml | ||
release |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
|
||
members = [ | ||
"src/odin", | ||
"src/http-server" | ||
"src/huginn" | ||
] | ||
|
||
[profile.dev] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
theme: jekyll-theme-midnight | ||
theme: jekyll-theme-hacker |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Valheim Docker | ||
|
||
## About | ||
|
||
Welcome! Valheim Docker powered by Odin. | ||
The Valheim dedicated game server manager which is designed with resiliency in mind by providing automatic updates, | ||
world backup support, and a user-friendly cli interface. | ||
|
||
## Links | ||
|
||
- [Getting Started](../README.md) | ||
|
||
The repositories Readme contains all relevant information for running with Docker | ||
|
||
- [Discussion for Help and Info](https://github.com/mbround18/valheim-docker/discussions) | ||
|
||
Discussions are what we use for support as they are easily searchable. | ||
|
||
- [Getting Started With & Using Odin](../src/odin/README.md) | ||
|
||
You can run your Valheim server without docker! Take a look at Odin's docs. | ||
|
||
- [Getting Started With & Using Huginn](../src/huginn/README.md) | ||
|
||
Want to see the status of your server? Take a look at Huginn! It can run independently of Odin and this repo. | ||
|
||
## Tutorials | ||
|
||
- [Getting Started With Mods](tutorials/getting_started_with_mods.md) | ||
- [How to transfer files](tutorials/how-to-transfer-files.md) | ||
|
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
# Huginn | ||
|
||
Huginn is a status server used to check the status of your Valheim server. | ||
|
||
> [Who is Huginn?](https://en.wikipedia.org/wiki/Huginn_and_Muninn) | ||
## Setup | ||
|
||
1. Install Rust & git | ||
2. Clone the repo | ||
3. `cargo install cargo-make` | ||
4. `makers -e production release` | ||
5. `chmod +x ./target/debug/huginn` | ||
6. Copy `./target/debug/huginn` to `/usr/local/bin` | ||
|
||
## Usage | ||
|
||
### Environment Variables | ||
|
||
| Variable | Default | Required | Description | | ||
| --------- | --------------------- | -------- | ---------------------------------------------------------------------------------------------------------------------------- | | ||
| ADDRESS | `Your Public IP` | FALSE | This setting is used in conjunction with `odin status` and setting this will stop `odin` from trying to fetch your public IP | | ||
| HTTP_PORT | `anything above 1024` | FALSE | Setting this will spin up a little http server that provides two endpoints for you to call. | | ||
|
||
|
||
### Manually Launching | ||
|
||
Simply launch `huginn` in the background with: | ||
|
||
```shell | ||
cd /path/to/your/valheim/server/folder | ||
huginn & | ||
``` | ||
|
||
### Systemd service | ||
|
||
1. With the root user or using sudo run | ||
|
||
```shell | ||
nano /etc/systemd/system/huginn.service | ||
``` | ||
|
||
2. Copy and paste the text below | ||
|
||
```toml | ||
[Unit] | ||
Description=Huginn Valheim Status Server | ||
After=network.target | ||
StartLimitIntervalSec=0 | ||
|
||
[Service] | ||
Type=simple | ||
Restart=always | ||
RestartSec=1 | ||
User=steam | ||
Environment="HTTP_PORT=3000" "ADDRESS=127.0.0.1:2457" | ||
WorkingDirectory=/home/steam/valheim | ||
ExecStart=/usr/bin/env /usr/local/bin/huginn | ||
|
||
[Install] | ||
WantedBy=multi-user.target | ||
``` | ||
|
||
3. Make any necessary changes to the service to fit your needs. | ||
(Remember, the port you use in your `ADDRESS` must be your query port which is +1 of your game port.) | ||
|
||
4. Next save the file and start the service. | ||
|
||
```shell | ||
sudo systemctl start huginn | ||
``` | ||
|
||
5. To have the server start on server launch, run: | ||
|
||
```shell | ||
sudo systemctl enable huginn | ||
``` | ||
|
||
## Endpoints | ||
|
||
| Endpoint | Description | | ||
|------------|------------| | ||
| `/metrics` | Provides a Prometheus compatible output of the server status. [Click here to see a guide on how to get a dashboard setup.](https://github.com/mbround18/valheim-docker/discussions/330) | | ||
| `/status` | Provides a more traditional JSON output of the server status. | |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.