factorio

by Fancy Whale

Helm chartv0.0.1App 1.16.0

Helm chart to deploy factorio server

About this chart

factorio

Helm chart to deploy factorio server

Maintainers

NameEmailUrl
Guilherme (Gui) Carraro Martins[email protected]https://fancywhale.link/landing

Source Code

Requirements

RepositoryNameVersion
https://gitlab.fancywhale.ca/api/v4/projects/3/packages/helm/stablefactorio(main)0.6.16

Values

KeyTypeDefaultDescription
factorio.enabledbooltruewhether or not to deploy factorio
factorio.env.FACTORIO_PORTint31654Overrides the port used for the server setup
factorio.image.repostring"registry.fancywhale.ca/fancywhale-corporation/factorio"
factorio.image.tagstring"main"
factorio.ingress.enabledboolfalseFactorio Server runs out of UDP, we shouldn't need to set the ingress. Set this up only if you'd like to publish something in TCP+ingress controller
factorio.portint31654
factorio.recreatebooltrueOnly one server at a time, otherwise save file will be corrupted.
factorio.securityContextobject{"enabled":true,"fsgroup":1000}Necessary to setup the access to the save files
factorio.serviceobject{"nodePort":31654,"protocol":"UDP","type":"LoadBalancer","udpType":"LoadBalancer"}Service running as a LoadBalancer using UDP port with the same value as env.FACTORIO_PORT
factorio.volumeslist[{"name":"factorio-data","path":"/opt/factorio/saves/"}]Path to save files should be persistent, otherwise you'll lose your saves. Bear in mind to put it in performant storage.

Autogenerated from chart metadata using helm-docs v1.11.0

Deploy factorio with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has factorio on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartfactorio is pinned at v0.0.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply