chore: add compose local test setup (#120)
Reviewed-on: #120 Co-authored-by: Timo Behrendt <t.behrendt@t00n.de> Co-committed-by: Timo Behrendt <t.behrendt@t00n.de>
This commit was merged in pull request #120.
This commit is contained in:
@@ -0,0 +1,6 @@
|
|||||||
|
*
|
||||||
|
|
||||||
|
!package.json
|
||||||
|
!bun.lockb
|
||||||
|
!src/
|
||||||
|
!tsconfig.json
|
||||||
@@ -130,3 +130,6 @@ dist
|
|||||||
.yarn/install-state.gz
|
.yarn/install-state.gz
|
||||||
.pnp.*
|
.pnp.*
|
||||||
|
|
||||||
|
# Local docker test setup
|
||||||
|
gotify_data/
|
||||||
|
ts3_data/
|
||||||
|
|||||||
@@ -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/"
|
||||||
Reference in New Issue
Block a user