Skip to content

Commit

Permalink
Update README and configs to no longer reference Dockerhub (lloesche#398
Browse files Browse the repository at this point in the history
)
  • Loading branch information
lloesche authored Sep 17, 2021
1 parent 5e0fcf5 commit eeeec1c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@
Valheim Server in a Docker Container (with [BepInEx](#bepinexpack-valheim) and [ValheimPlus](#valheimplus) support)
This project is hosted at [https://github.com/lloesche/valheim-server-docker](https://github.com/lloesche/valheim-server-docker)

[![Docker Badge](https://img.shields.io/docker/pulls/lloesche/valheim-server.svg)](https://hub.docker.com/r/lloesche/valheim-server)

| NOTICE |
|----------|
| Dockerhub has deactivated automated builds for non-paying users. Please update your container config to download the image from the GitHub container registry. Use `ghcr.io/lloesche/valheim-server` instead of `lloesche/valheim-server` for the image name. |


# Table of contents
Expand Down Expand Up @@ -66,7 +69,7 @@ This project is hosted at [https://github.com/lloesche/valheim-server-docker](ht

# Basic Docker Usage

The name of the Docker image is `lloesche/valheim-server`.
The name of the Docker image is `ghcr.io/lloesche/valheim-server`.

Volume mount the server config directory to `/config` within the Docker container.

Expand All @@ -90,7 +93,7 @@ $ docker run -d \
-e SERVER_NAME="My Server" \
-e WORLD_NAME="Neotopia" \
-e SERVER_PASS="secret" \
lloesche/valheim-server
ghcr.io/lloesche/valheim-server
```

Warning: `SERVER_PASS` must be at least 5 characters long. Otherwise `valheim_server.x86_64` will refuse to start!
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: "3"

services:
valheim:
image: lloesche/valheim-server
image: ghcr.io/lloesche/valheim-server
cap_add:
- sys_nice
volumes:
Expand Down
2 changes: 1 addition & 1 deletion valheim.nomad
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ job "valheim" {
SERVER_PASS = "secret"
}
config {
image = "lloesche/valheim-server"
image = "ghcr.io/lloesche/valheim-server"
volumes = [
"/var/lib/valheim/config:/config",
"/var/lib/valheim/data:/opt/valheim"
Expand Down
2 changes: 1 addition & 1 deletion valheim.service
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ ExecStart=/usr/bin/docker run \
-v /opt/valheim:/opt/valheim:Z \
-p 2456-2457:2456-2457/udp \
--env-file /etc/sysconfig/valheim-server \
lloesche/valheim-server
ghcr.io/lloesche/valheim-server
ExecStop=/usr/bin/docker stop %n
Restart=always
RestartSec=10s
Expand Down

0 comments on commit eeeec1c

Please sign in to comment.