{"id":21321776,"url":"https://github.com/guilledipa/valheim","last_synced_at":"2026-05-20T15:16:48.257Z","repository":{"id":180399587,"uuid":"346302934","full_name":"guilledipa/valheim","owner":"guilledipa","description":"Valheim on GKE","archived":false,"fork":false,"pushed_at":"2021-04-08T00:08:14.000Z","size":57,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-22T11:47:45.476Z","etag":null,"topics":["gke","kubernetes","statefulset","valheim","valheim-dedicated-server"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/guilledipa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-03-10T09:34:58.000Z","updated_at":"2021-04-08T00:09:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"2fd2a2b4-3a28-41ae-8811-38324830c00a","html_url":"https://github.com/guilledipa/valheim","commit_stats":null,"previous_names":["guilledipa/valheim"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guilledipa%2Fvalheim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guilledipa%2Fvalheim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guilledipa%2Fvalheim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guilledipa%2Fvalheim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/guilledipa","download_url":"https://codeload.github.com/guilledipa/valheim/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243801611,"owners_count":20350106,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gke","kubernetes","statefulset","valheim","valheim-dedicated-server"],"created_at":"2024-11-21T20:09:36.605Z","updated_at":"2026-05-20T15:16:48.192Z","avatar_url":"https://github.com/guilledipa.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Valheim dedicated server\n\nThe source repository can be found in https://github.com/guilledipa/valheim\n\nA CI pipeline is building https://hub.docker.com/r/guilledipa/valheim\n\n## `/image`\n\nThis directory contains the `Dockerfile` to build a container for Valheim\ndedicated server.\n\nTo build this image:\n\n1. Install docker runtime\n1. Build image\n\n    ```shell \n    git clone https://github.com/guilledipa/valheim\n    cd valheim/image\n    docker build --tag guilledipa/valheim .\n    ```\n\n1. Run image\n\n  ```shell\n  docker run -e VALHEIM_SERVER_NAME -e VALHEIM_WORLD_NAME= -e VALHEIM_PASSWORD guilledipa/valheim\n  ```\n\n## `/k8s`\n\nThis is an opinionated `StatefulSet` configuration to run the public image in\nhttps://hub.docker.com/r/guilledipa/valheim\n\nAssumptions:\n\n- GKE (although can easliy be adapted to other K8s providers)\n  - Anthos Config Management – Config Sync\n\nAfter installing Config Sync, create a `ConfigManagement` config.\n\nHere a snippet:\n\n```yaml\napiVErsion: configmanagement.gke.io/v1\nkind: ConfigManagement\nmetadata: config-management\nspec:\n  clusterName: \u003cYour Cluster Name\u003e\n  git:\n    syncRepo: https://github.com/guilledipa/valeim.git\n    syncBranch: main\n    secretTupe: none\n    policyDir: /k8s\n```\n\nAssuming a default service account is being used for the cluster:\n\n```shell\nkubectl -n config-management-system annotate serviceaccount importer iam.gke.io/gcp-service-account=${PROJECT_ID}-compute@developer.gserviceaccount.com\n```\n\n## `/DM`\n\n**TODO(guilledipa):** Add GCP Deployment manager configs","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguilledipa%2Fvalheim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fguilledipa%2Fvalheim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguilledipa%2Fvalheim/lists"}