added factorio image
All checks were successful
Build and Push Docker Image / Build image (push) Successful in 2m0s
All checks were successful
Build and Push Docker Image / Build image (push) Successful in 2m0s
This commit is contained in:
parent
95a1042c41
commit
09e9b5dabd
32
config/samples/factorio_image-2.0.47.yaml
Normal file
32
config/samples/factorio_image-2.0.47.yaml
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
apiVersion: server-manager.acooldomain.co/v1alpha1
|
||||||
|
kind: Image
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: kubernetes-operator
|
||||||
|
app.kubernetes.io/managed-by: kustomize
|
||||||
|
name: factorio-2-0-47
|
||||||
|
spec:
|
||||||
|
location: git.acooldomain.co/server-manager/factorio:2.0.47
|
||||||
|
name: factorio
|
||||||
|
tag: 2.0.47
|
||||||
|
working_dir: /opt/factorio
|
||||||
|
volume: /opt/server
|
||||||
|
command:
|
||||||
|
- /opt/factorio/bin/x64/factorio
|
||||||
|
- --port
|
||||||
|
- "34197"
|
||||||
|
args:
|
||||||
|
- --start-server
|
||||||
|
- saves/default.zip
|
||||||
|
ports:
|
||||||
|
- port: 34197
|
||||||
|
protocol: TCP
|
||||||
|
|
||||||
|
init_script:
|
||||||
|
image: alpine:latest
|
||||||
|
command:
|
||||||
|
- /bin/sh
|
||||||
|
args:
|
||||||
|
- /bin/sh
|
||||||
|
- "-c"
|
||||||
|
- "cp /opt/factorio /opt/server"
|
Loading…
x
Reference in New Issue
Block a user