diff --git a/breezewiki/breezewiki.yml b/breezewiki/breezewiki.yml new file mode 100644 index 0000000..38482b6 --- /dev/null +++ b/breezewiki/breezewiki.yml @@ -0,0 +1,47 @@ +# Save the output of this file and use kubectl create -f to import +# it into Kubernetes. +# +# Created with podman-5.4.0 + +# NOTE: If you generated this yaml from an unprivileged and rootless podman container on an SELinux +# enabled system, check the podman generate kube man page for steps to follow to ensure that your pod/container +# has the right permissions to access the volumes added. +apiVersion: v1 +kind: ConfigMap +metadata: + name: breezewiki-config +data: + config.ini: | + canonical_origin = "breezewiki.nadeko.net" + debug = false + port = 10416 + strict_proxy = true +--- +apiVersion: v1 +kind: Pod +metadata: + creationTimestamp: "2025-02-27T16:49:02Z" + labels: + app: breezewiki-pod + name: breezewiki-pod +spec: + volumes: + - name: config + configMap: + name: breezewiki-config + + containers: + - image: quay.io/pussthecatorg/breezewiki:latest + name: breezewiki + ports: + - containerPort: 10416 + hostIP: 127.0.0.1 + hostPort: 10007 + resources: + limits: + memory: 512Mi + volumeMounts: + - mountPath: /app/config.ini + subPath: config.ini + name: config + restartPolicy: Always diff --git a/breezewiki/config.ini b/breezewiki/config.ini new file mode 100644 index 0000000..b4ad166 --- /dev/null +++ b/breezewiki/config.ini @@ -0,0 +1,4 @@ +canonical_origin = "breezewiki.nadeko.net" +debug = false +port = 10416 +strict_proxy = true diff --git a/breezewiki/docker-compose.yml b/breezewiki/docker-compose.yml new file mode 100644 index 0000000..eef2633 --- /dev/null +++ b/breezewiki/docker-compose.yml @@ -0,0 +1,11 @@ +services: + breezewiki: + container_name: breezewiki + image: quay.io/pussthecatorg/breezewiki:latest + restart: always + mem_limit: 512mb + ports: + - "127.0.0.1:10007:10416" # Replace with "10416:10416" if you don't use a reverse proxy + volumes: + - "./config.ini:/app/config.ini" +