aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2022-12-02 17:52:42 +0000
committerterminaldweller <thabogre@gmail.com>2022-12-02 17:52:42 +0000
commit674f40d027ece13daa78ef2a7d69c79f4198368a (patch)
tree2bcc0e41e5064b62d18bb376a5ecf0d760b6f13d /kubernetes
parentupdate (diff)
downloadscripts-674f40d027ece13daa78ef2a7d69c79f4198368a.tar.gz
scripts-674f40d027ece13daa78ef2a7d69c79f4198368a.zip
update
Diffstat (limited to '')
-rw-r--r--kubernetes/bitlbee-purple/docker-compose.yaml27
-rw-r--r--kubernetes/postgres/postgres-deployment.yaml2
2 files changed, 28 insertions, 1 deletions
diff --git a/kubernetes/bitlbee-purple/docker-compose.yaml b/kubernetes/bitlbee-purple/docker-compose.yaml
new file mode 100644
index 0000000..84e1842
--- /dev/null
+++ b/kubernetes/bitlbee-purple/docker-compose.yaml
@@ -0,0 +1,27 @@
+version: "3"
+services:
+ bitlbee:
+ image: ezkrg/bitlbee-libpurple:debian-20220408145536
+ networks:
+ - bitlbeenet
+ ports:
+ - "7777:6667"
+ restart: unless-stopped
+ user: "101:101"
+ volumes:
+ - ./bitlbee.conf:/var/lib/bitlbee/bitlbee.conf:ro
+ - bitlbeedata:/bitlbee-user-data
+ entrypoint: ["/usr/sbin/bitlbee"]
+ command: ["-F", "-n", "-u", "bitlbee", "-c", "/var/lib/bitlbee/bitlbee.conf","-d","/bitlbee-user-data"]
+ env_file:
+ - .env
+ cap_drop:
+ - ALL
+ cap_add:
+ - CHOWN
+ - SETGID
+ - SETUID
+networks:
+ bitlbeenet:
+volumes:
+ bitlbeedata:
diff --git a/kubernetes/postgres/postgres-deployment.yaml b/kubernetes/postgres/postgres-deployment.yaml
index 2711117..41d4942 100644
--- a/kubernetes/postgres/postgres-deployment.yaml
+++ b/kubernetes/postgres/postgres-deployment.yaml
@@ -52,7 +52,7 @@ spec:
optional: false
volumeMounts:
- name: postgres-data
- mountPath: /var/lib/postgres/data
+ mountPath: /var/lib/postgresql/data
volumes:
- name: postgres-data
persistentVolumeClaim: