aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes')
-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: