Change: Rebuild docker image with postgres support

This commit is contained in:
Jan Funke 2025-12-13 20:30:30 +01:00
parent 48ce608462
commit 86be8f6b21
No known key found for this signature in database
4 changed files with 17 additions and 1 deletions

8
Containerfile Normal file
View File

@ -0,0 +1,8 @@
FROM docker.io/teamspeak:latest
USER root
RUN apt-get update && \
apt-get install -y --no-install-recommends libpq && \
rm -rf /var/lib/apt/lists/*
USER teamspeak

7
ts3server.build Normal file
View File

@ -0,0 +1,7 @@
[Unit]
Description=Builds the Teamspeak 3 Server Container Image with Postgres support
[Build]
File=Containerfile
ImageTag=localhost/ts3server-postgres:latest
AutoUpdate=registry

View File

@ -1,5 +1,6 @@
[Unit]
Description=Teamspeak 3 Server (Pod)
Requires=ts3server.build
After=network-online.target
[Kube]

View File

@ -7,7 +7,7 @@ spec:
containers:
# --- TeamSpeak 3 Server ---
- name: ts3server
image: docker.io/teamspeak:latest
image: localhost/ts3server-postgres:latest
ports:
- containerPort: 9987
protocol: UDP