{"id":20126219,"url":"https://github.com/polonel/trudesk-docker","last_synced_at":"2026-03-17T17:12:00.649Z","repository":{"id":45973501,"uuid":"163907124","full_name":"polonel/trudesk-docker","owner":"polonel","description":"Trudesk docker builder","archived":false,"fork":false,"pushed_at":"2024-07-24T22:53:47.000Z","size":15035,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-13T08:12:32.385Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/polonel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2019-01-03T01:17:13.000Z","updated_at":"2024-07-24T22:53:46.000Z","dependencies_parsed_at":"2023-01-30T21:00:51.666Z","dependency_job_id":"97813776-2211-4264-879d-c32472cfa40d","html_url":"https://github.com/polonel/trudesk-docker","commit_stats":null,"previous_names":[],"tags_count":38,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polonel%2Ftrudesk-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polonel%2Ftrudesk-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polonel%2Ftrudesk-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polonel%2Ftrudesk-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/polonel","download_url":"https://codeload.github.com/polonel/trudesk-docker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241570923,"owners_count":19984002,"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":[],"created_at":"2024-11-13T20:14:31.947Z","updated_at":"2026-03-17T17:11:55.626Z","avatar_url":"https://github.com/polonel.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"![](https://docs.trudesk.io/TD_Black500.png)\n***\n## Docker Install\nThe below example shows running a `MongoDB` container and linking it to a trudesk container.\n\n\u003e *Note: In this example all container storage is located on the host. \n\u003e In order to run trudesk in a multi-host container cluster, you will require a shared storage. (ex: NFS)*\n\n#### Storage - Create directories on host\n``` bash\n$ mkdir -p /data/db\n$ mkdir -p /data/configdb\n$ mkdir -p /data/trudesk/plugins\n$ mkdir -p /data/trudesk/uploads\n```\n\n#### MongoDB Container\nThe following command will deploy a `mongodb 5` docker container with the name `mongodb`, which we will use to link to our `trudesk` container.\n``` bash\n$ docker run --name mongodb \\\n    -v /data/db:/data/db \\\n    -v /data/configdb:/data/configdb \\\n    -d mongo:5.0\n```\n\n#### Trudesk Container\nThe following command will deploy a `trudesk 1.2` docker container. The container will expose a `NodePort` to access the container.\n\nGet latest updated image of `1.2`\n``` bash\n$ docker pull polonel/trudesk:1.2\n```\n\n``` bash\n$ docker run --name trudesk --link mongodb:mongodb \\\n    -v /data/trudesk/uploads:/usr/src/trudesk/public/uploads \\\n    -v /data/trudesk/plugins:/usr/src/trudesk/plugins \\\n    -v /data/trudesk/backups:/usr/src/trudesk/backups \\\n    -e NODE_ENV=production \\\n    -e TRUDESK_DOCKER=true \\\n    -e TD_MONGODB_SERVER=mongodb -e TD_MONGODB_DATABASE=trudesk \\\n    -P -d polonel/trudesk:$TAG\n```\n\n#### Accessing the trudesk container\nOnce the containers are running, access the trudesk container via the assigned `NodePort`.\nThe following command will list the two running containers. Notice under the ports column \nthe NodePort - __32772__. This will allow access to the trudesk container via `http://{hostip}:32772`\n\n``` bash\n$ docker ps\nCONTAINER ID        IMAGE               COMMAND                  CREATED             STATUS              PORTS                     NAMES\n5f75716aa8cc        polonel/trudesk:1.2 \"/bin/bash /usr/src/…\"   1 minute ago        Up 1 minute         0.0.0.0:32772-\u003e8118/tcp   trudesk\n5b4f77cbf1a3        mongo:5.0           \"docker-entrypoint.s…\"   32 minutes ago      Up 32 minutes       27017/tcp                 mongodb\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpolonel%2Ftrudesk-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpolonel%2Ftrudesk-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpolonel%2Ftrudesk-docker/lists"}