{"id":21493946,"url":"https://github.com/nukdokplex/tshock-docker-environment","last_synced_at":"2025-09-21T12:07:02.104Z","repository":{"id":216639485,"uuid":"741850104","full_name":"nukdokplex/tshock-docker-environment","owner":"nukdokplex","description":"Simple Docker environment to run containerized instances of TShock.","archived":false,"fork":false,"pushed_at":"2024-01-25T10:16:18.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-17T11:51:12.200Z","etag":null,"topics":["docker","docker-compose","docker-image","terraria","terraria-server","tshock"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","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/nukdokplex.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2024-01-11T08:39:05.000Z","updated_at":"2024-01-11T09:40:37.000Z","dependencies_parsed_at":"2024-01-25T11:45:00.006Z","dependency_job_id":"b2515159-36e3-464b-9f37-277c8f94ff17","html_url":"https://github.com/nukdokplex/tshock-docker-environment","commit_stats":null,"previous_names":["nukdokplex/tshock-docker-environment"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nukdokplex/tshock-docker-environment","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nukdokplex%2Ftshock-docker-environment","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nukdokplex%2Ftshock-docker-environment/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nukdokplex%2Ftshock-docker-environment/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nukdokplex%2Ftshock-docker-environment/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nukdokplex","download_url":"https://codeload.github.com/nukdokplex/tshock-docker-environment/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nukdokplex%2Ftshock-docker-environment/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276237010,"owners_count":25608163,"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","status":"online","status_checked_at":"2025-09-21T02:00:07.055Z","response_time":72,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","terraria","terraria-server","tshock"],"created_at":"2024-11-23T15:48:27.665Z","updated_at":"2025-09-21T12:07:02.071Z","avatar_url":"https://github.com/nukdokplex.png","language":"Dockerfile","readme":"# TShock Docker Environment\n\nThis is a simple Docker environment to run containerized instance of TShock.\n\n## What is TShock?\n\nTShock is a powerful dedicated Terraria server software. Please visit [official TShock repository](https://github.com/Pryaxis/TShock) for more details about TShock. There also you could find some documentation and guides.\n\n## Why?\n\nI wanted to create my own simple Docker environment for TShock. Make as simple as possible. I think that some people may find it's cool boilerplate for their own TShock environments so I created it. Also I have completed Terraria for Summoner class on this environment so it's fully working (for now).\n\n## Installation\n\nTo run this environment you will need to install Docker if you have not. After that you will need to clone this repository and move into it:\n\n```bash\ngit clone https://github.com/nukdokplex/tshock-docker-environment \u0026\u0026 cd tshock-docker-environment\n```\n\nAfter that you'll need to copy `.env.example` to `.env`:\n\n```bash\ncp .env.example .env\n```\n\n… and edit it in your favorite text editor:\n\n```bash\nnano .env\n```\n\nThere will be comments how to set it up.\n\n### Placing your world\n\nOkay after that all let's place your Terraria world into environment.\n\n```bash\nmkdir -p ./tshock_data/world \u0026\u0026 cp /path/to/your/world.wld ./tshock_data/world/.\n```\nDon't forget to set your world file name in `.env`\n\n## Running\n\nJust run that command:\n\n```bash\ndocker-compose up -d\n```\n\n… and your TShock instance will start! Now you'll need to localize your running TShock container using command:\n\n```bash\ndocker ps\n```\n\nYou will see something like that:\n\n```\nCONTAINER ID   IMAGE                               COMMAND                  CREATED             STATUS             PORTS                                         NAMES\n12341234123   your-terraria-server-tshock   \"bash run.sh\"            About an hour ago   Up 4 seconds       0.0.0.0:7777-\u003e25565/tcp, :::7777-\u003e25565/tcp   your-terraria-server-tshock\n```\n\nAs you can see here container is running after name `your-terraria-server-tshock`. Now you can attach to terminal of this container to get access to TShock server terminal:\n\n```bash\ndocker attach your-terraria-server-tshock\n```\n\nAnd here you can use TShock's terminal, now you can type here `/help` to see available commands.\n\n## Special thanks\n\nThanks to [beardedio](https://github.com/beardedio) for their [docker images](https://github.com/beardedio/terraria) that inspired me to create this environment.\n\n## License\n\nThis project is licensed under [The MIT License](LICENSE.md)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnukdokplex%2Ftshock-docker-environment","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnukdokplex%2Ftshock-docker-environment","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnukdokplex%2Ftshock-docker-environment/lists"}