Change: Rebuild docker image with postgres support
This commit is contained in:
parent
48ce608462
commit
86be8f6b21
8
Containerfile
Normal file
8
Containerfile
Normal 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
7
ts3server.build
Normal 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
|
||||||
@ -1,5 +1,6 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Teamspeak 3 Server (Pod)
|
Description=Teamspeak 3 Server (Pod)
|
||||||
|
Requires=ts3server.build
|
||||||
After=network-online.target
|
After=network-online.target
|
||||||
|
|
||||||
[Kube]
|
[Kube]
|
||||||
|
|||||||
@ -7,7 +7,7 @@ spec:
|
|||||||
containers:
|
containers:
|
||||||
# --- TeamSpeak 3 Server ---
|
# --- TeamSpeak 3 Server ---
|
||||||
- name: ts3server
|
- name: ts3server
|
||||||
image: docker.io/teamspeak:latest
|
image: localhost/ts3server-postgres:latest
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 9987
|
- containerPort: 9987
|
||||||
protocol: UDP
|
protocol: UDP
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user