From dcc66583a80d8a2dfd31263bac31a9c2d7bf1679 Mon Sep 17 00:00:00 2001 From: Timo Behrendt Date: Sat, 9 May 2026 14:16:16 +0200 Subject: [PATCH] chore: add compose local test setup --- .dockerignore | 6 ++++++ .gitignore | 3 +++ compose.yaml | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 56 insertions(+) create mode 100644 .dockerignore create mode 100644 compose.yaml diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..3b30b6b --- /dev/null +++ b/.dockerignore @@ -0,0 +1,6 @@ +* + +!package.json +!bun.lockb +!src/ +!tsconfig.json \ No newline at end of file diff --git a/.gitignore b/.gitignore index ceaea36..608dd9d 100644 --- a/.gitignore +++ b/.gitignore @@ -130,3 +130,6 @@ dist .yarn/install-state.gz .pnp.* +# Local docker test setup +gotify_data/ +ts3_data/ diff --git a/compose.yaml b/compose.yaml new file mode 100644 index 0000000..c84e86e --- /dev/null +++ b/compose.yaml @@ -0,0 +1,47 @@ +services: + ts3gotify: + build: + context: . + dockerfile: Dockerfile + environment: + LOG_LEVEL: debug + TS3_HOST: ts3 + TS3_QUERY_PORT: 10011 + TS3_SERVER_PORT: 9987 + TS3_USERNAME: serveradmin + TS3_PASSWORD: Qx7uUh4i + TS3_NICKNAME: ts3gotify + GOTIFY_URL: http://gotify:80 + GOTIFY_TOKEN: ApvIy.aFpN3.QlQ + GOTIFY_TITLE: ts3gotify + MODE: '["connect", "disconnect", "moved", "message"]' + + gotify: + image: ghcr.io/gotify/server:latest + ports: + - 8080:80 + environment: + TZ: "Europe/Amsterdam" + GOTIFY_DEFAULTUSER_PASS: "admin" + volumes: + - "./gotify_data:/app/data" + + ts3: + image: docker.io/library/teamspeak:latest + ports: + - name: voice + target: 9987 + published: 9987 + protocol: udp + - name: query + target: 10011 + published: 10011 + protocol: tcp + - name: filetransfer + target: 30033 + published: 30033 + protocol: tcp + environment: + TS3SERVER_LICENSE: accept + volumes: + - "./ts3_data:/var/ts3server/" -- 2.52.0