{"id":23096302,"url":"https://github.com/phaldan/docker-jtsdns","last_synced_at":"2026-04-12T10:47:37.424Z","repository":{"id":34814091,"uuid":"107791920","full_name":"phaldan/docker-jtsdns","owner":"phaldan","description":"Docker image for JTSDNS","archived":false,"fork":false,"pushed_at":"2024-05-22T18:28:29.000Z","size":82,"stargazers_count":1,"open_issues_count":5,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-05-22T19:43:31.907Z","etag":null,"topics":["docker","docker-compose","docker-image","mysql","teamspeak"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/phaldan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-10-21T15:29:27.000Z","updated_at":"2024-05-29T04:39:22.916Z","dependencies_parsed_at":"2023-10-14T00:59:24.329Z","dependency_job_id":"8e291113-3691-494c-b950-be12ea7c1d4f","html_url":"https://github.com/phaldan/docker-jtsdns","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phaldan%2Fdocker-jtsdns","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phaldan%2Fdocker-jtsdns/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phaldan%2Fdocker-jtsdns/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phaldan%2Fdocker-jtsdns/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phaldan","download_url":"https://codeload.github.com/phaldan/docker-jtsdns/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247070487,"owners_count":20878579,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","docker-compose","docker-image","mysql","teamspeak"],"created_at":"2024-12-16T22:33:32.773Z","updated_at":"2025-12-30T23:09:06.566Z","avatar_url":"https://github.com/phaldan.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JTSDNS\n\n[![](https://images.microbadger.com/badges/version/phaldan/jtsdns.svg)](https://microbadger.com/images/phaldan/jtsdns) [![](https://images.microbadger.com/badges/image/phaldan/jtsdns.svg)](https://microbadger.com/images/phaldan/jtsdns) [![](https://img.shields.io/docker/stars/phaldan/jtsdns.svg)](https://hub.docker.com/r/phaldan/jtsdns/) [![](https://img.shields.io/docker/pulls/phaldan/jtsdns.svg)](https://hub.docker.com/r/phaldan/jtsdns/) [![](https://img.shields.io/docker/automated/phaldan/jtsdns.svg)](https://hub.docker.com/r/phaldan/jtsdns/)\n\nSize optimised Docker image based on [openjdk:8-jre-alpine](https://hub.docker.com/_/openjdk/) image for the [JTSDNS](https://www.stefan1200.de/forum/index.php?topic=208.0) as an alternative TSDNS server with MySQL:\n\n* `1.6.0`, `1.6`, `1`, `latest` ([Dockerfile](https://github.com/phaldan/docker-jtsdns/blob/c609319fdd3a737fab42dc2eeada8076fcbaada2/Dockerfile))\n* `1.5.2`, `1.5` ([Dockerfile](https://github.com/phaldan/docker-jtsdns/blob/c5e8364d3afbe16519c5943cc31eda05a7d3b590/Dockerfile))\n\n## Run JTSDNS container\n\nRun with external MySQL:\n```\n$ docker run -d --name=jtsdns -v ${PWD}/JTSDNS.cfg:/JTSDNS/JTSDNS.cfg -p 41144:41144 phaldan/jtsdns\n```\n\nDocker-Compose with MySQL:\n```\nversion: \"3\"\nservices:\n  jtsdns:\n    image: phaldan/jtsdns\n    ports:\n      - \"41144:41144\"\n    volumes:\n      - ./log:/JTSDNS/log\n    environment:\n      - JTSDNS_MYSQL_HOST=mysql\n      - JTSDNS_MYSQL_USER=root\n      - JTSDNS_MYSQL_PASSWORD=changeme\n      - JTSDNS_MYSQL_DATABASE=jtsdns\n      - JTSDNS_LOGFILE=%apphome%log/JTSDNS.log\n    links:\n      - mysql\n  mysql:\n    image: mariadb:10\n    environment:\n      - MYSQL_DATABASE=jtsdns\n      - MYSQL_ROOT_PASSWORD=changeme\n    volumes:\n      - ./mysql:/var/lib/mysql\n```\n\n## What is JTSDNS\n\n[JTSDNS](https://www.stefan1200.de/forum/index.php?topic=208.0) is an TSDNS alternative using MySQL as database. In addition to this it also saves to database how often a hostname was requested and the last requested time. Just import the jtsdns.sql to your MySQL database and, if you want, create your own website that adds or edit the entries in that JTSDNS table. The names of the columns are quite self explaining. Like the real TSDNS application wildcards at hostnames are supported.\n\nIt can still have bugs, but one user use it already on a server without problems. For more information about the usage, just look in the [readme.txt](https://www.stefan1200.de/documentation/jtsdns/readme.txt).\n\nExample for `JTSDNS.cfg`:\n\n```\n# Use a mysql database to save TSDNS configurations.\n# There should be a structure sql file in the directory.\n# Import this into your MySQL database to create the tables.\n# But you must fill this tables by yourself, this program just reads the information out there.\nmysql_host = 127.0.0.1\nmysql_port = 3306\nmysql_user = \nmysql_password = \nmysql_database = \n\n# Optional MySQL settings, more information on https://dev.mysql.com/doc/connector-j/5.1/en/connector-j-reference-configuration-properties.html#connector-j-reference-set-config\n# Possible values: -1 = default, 0 = disable, 1 = enable\nmysql_verifyServerCertificate = -1\nmysql_useSSL = -1\nmysql_requireSSL = -1\nmysql_useCompression = -1\n\n# Set a path to a logfile or nothing, if no logfile should be written.\n# The logfile contains all information what happened while JTSDNS is started.\n# If the app.home environment variable was set, %apphome% will be replaced with the app.home path.\nlogfile = %apphome%JTSDNS.log\n```\n\n## Environment variables\n\nThis image extends the JTSDNS with environment variables.\n\n\u0026#x1F534; Mapped to `JTSDNS.cfg` \u0026#x1F537; Initialization parameter\n\n|Variable|Default|Description|\n|-----------|---------|---------|\n|\u0026#x1F534; JTSDNS_LOGFILE|%apphome%JTSDNS.log||\n|\u0026#x1F537; JTSDNS_MYSQL_CREATE_TABLES|1|1=Enabled, 0=Disabled|\n|\u0026#x1F534; JTSDNS_MYSQL_DATABASE|\u0026lt;empty\u0026gt;||\n|\u0026#x1F534; JTSDNS_MYSQL_HOST|127.0.0.1||\n|\u0026#x1F534; JTSDNS_MYSQL_PASSWORD|\u0026lt;empty\u0026gt;||\n|\u0026#x1F534; JTSDNS_MYSQL_PORT|3306||\n|\u0026#x1F534; JTSDNS_MYSQL_REQUIRE_SSL|-1||\n|\u0026#x1F537; JTSDNS_MYSQL_TIMEOUT|60|Connect timeout in seconds|\n|\u0026#x1F534; JTSDNS_MYSQL_USE_COMPRESSION|-1||\n|\u0026#x1F534; JTSDNS_MYSQL_USE_SSL|-1||\n|\u0026#x1F534; JTSDNS_MYSQL_USER|\u0026lt;empty\u0026gt;||\n|\u0026#x1F534; JTSDNS_MYSQL_VERIFY_SERVER_CERTIFICATE|-1||\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphaldan%2Fdocker-jtsdns","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphaldan%2Fdocker-jtsdns","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphaldan%2Fdocker-jtsdns/lists"}