Skip to content

Commit

Permalink
pushing easy podman dedicated server test instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
jpw1991 committed Jan 14, 2023
1 parent 681bfb6 commit 0930f9d
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions FriendlySkeletonWand/dev_notes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Dev Notes

## Run in container to test dedicated

```sh
# pull popular valheim image
podman pull docker.io/lloesche/valheim-server

# run container
podman run -d --name valheim-server --cap-add=sys_nice --stop-timeout 120 -p 2456-2457:2456-2457/udp -v $HOME/valheim-server/config:/config -v $HOME/valheim-server/data:/opt/valheim -e SERVER_NAME="My Server" -e WORLD_NAME="podmantest" -e SERVER_PASS="secret" -e BEPINEX="true" lloesche/valheim-server

# copy mods in
cd ~/.local/share/Steam/steamapps/common/Valheim/BepInEx/plugins;
for f in *; do
podman cp --overwrite $f a2dc88de3800:/config/bepinex/plugins
done

# restart container
podman restart a2dc88de3800
```

Then start valheim and conntect to 127.0.0.1

0 comments on commit 0930f9d

Please sign in to comment.