{"id":19434143,"url":"https://github.com/mastermindg/trac-docker-ubuntu","last_synced_at":"2025-04-24T20:31:58.362Z","repository":{"id":76585417,"uuid":"91380339","full_name":"mastermindg/trac-docker-ubuntu","owner":"mastermindg","description":"Trac on an Ubuntu-based Docker Image","archived":false,"fork":false,"pushed_at":"2018-06-14T16:46:41.000Z","size":41,"stargazers_count":11,"open_issues_count":0,"forks_count":7,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-03T10:36:50.585Z","etag":null,"topics":["docker","trac"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mastermindg.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-05-15T20:12:06.000Z","updated_at":"2024-03-20T12:32:21.000Z","dependencies_parsed_at":"2023-05-24T07:45:32.489Z","dependency_job_id":null,"html_url":"https://github.com/mastermindg/trac-docker-ubuntu","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mastermindg%2Ftrac-docker-ubuntu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mastermindg%2Ftrac-docker-ubuntu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mastermindg%2Ftrac-docker-ubuntu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mastermindg%2Ftrac-docker-ubuntu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mastermindg","download_url":"https://codeload.github.com/mastermindg/trac-docker-ubuntu/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250704769,"owners_count":21473758,"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","trac"],"created_at":"2024-11-10T14:44:50.258Z","updated_at":"2025-04-24T20:31:58.357Z","avatar_url":"https://github.com/mastermindg.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# trac-ubuntu\n\n[![](https://images.microbadger.com/badges/version/mastermindg/trac-ubuntu.svg)](https://hub.docker.com/r/mastermindg/trac-ubuntu/ \"Get your own version badge on microbadger.com\")\n[![](https://images.microbadger.com/badges/image/mastermindg/trac-ubuntu.svg)](https://hub.docker.com/r/mastermindg/trac-ubuntu/)\n[![Docker Hub](http://img.shields.io/docker/pulls/mastermindg/trac-ubuntu.svg)](https://hub.docker.com/r/mastermindg/trac-ubuntu/)\n\nThis repo builds a Docker container (based on Ubuntu Trusty) running [Trac](http://trac.edgewall.org),\nwhich is an enhanced wiki and issue tracking system for software development\nprojects. Trac uses a minimalistic approach to web-based software project\nmanagement. It helps developers write great software while staying out of\nthe way. Trac should impose as little as possible on a team's established\ndevelopment process and policies.\n\nThis installation of Trac uses AccountManager with LoginModule to allow logging in via the Web UI versus logging in with basic HTTP authentication. Eventually extensions will be added to enable LDAP and other forms of authentication.\n\n# How to get the image\n\n* Build it using Dockerfile\n\n    ```ssh\n    $ git clone https://github.com/mastermindg/trac-docker-ubuntu\n    $ cd trac-docker-ubuntu\n    $ docker build -t trac ./\n    ```\n\n* just pull it from Dockerhub\n\n    ```\n    $ docker pull mastermindg/trac-ubuntu\n    ```\n\n\n# How to run the container\n\n## Quick Start\n\nJust run\n\n```\n$ docker run -d -p 80:80 --name my_trac mastermindg/trac-ubuntu\n```\n\nAfter several seconds, you can visit the web page at\n\u003chttp://localhost\u003e\n\nThe Dockerfile comes with a number of environment variables that can be set at build time or at run time:\n\n## Environment Variables Explanations\n\nMost of below\n\n* `TRAC_ADMIN_NAME` (default is `trac_admin`):\n\n    the admin username of Trac\n\n* `TRAC_ADMIN_PASS` (default is `passw0rd`):\n\n    the admin password of Trac\n\n* `TRAC_PROJECT_NAME` (default is `trac_project`):\n\n    the Trac project name\n\n* `TRAC_DIR` (default is `/trac`):\n\n    This directory stores all the data and configurations. You can bind a volume\n    when starting a container.\n\n* `TRAC_INI` (default is `$TRAC_DIR/conf/trac.ini`):\n\n    This ini file will be automatically generated by the container.\n    Also you can made some customizations based on your needs.\n\n* `DB_LINK` (default is `sqlite:db/trac.db`):\n\n    A database system is needed. The database can be either `SQLite`,\n    `PostgreSQL` or `MySQL`.\n\n    Please refer \u003chttps://trac.edgewall.org/wiki/TracInstall#MandatoryDependencies\u003e\n    for more detailed infomation.\n\n    * For the PostgreSQL database\n\n        See [DatabaseBackend](https://trac.edgewall.org/intertrac/DatabaseBackend%23Postgresql) for details.\n\n    * For the MySQL database\n\n        Trac works well with MySQL.\n        Given the caveats and known issues surrounding MySQL,\n        read the [MySqlDb](https://trac.edgewall.org/intertrac/MySqlDb) page\n        before creating the database.\n        \n        * Build it for use with a MySQL database\n\n        ```ssh\n        $ git clone https://github.com/mastermindg/trac-docker-ubuntu\n        $ cd trac-docker-ubuntu\n        $ docker build -t trac --build-arg DB_LINK=\"mysql://trac:trac@mysql:3306/trac\" .\n        ``` \n        OR\n        * Run it with a MySQL Database\n        ```ssh\n        $ docker run -d -p 80:80 --name trac -e DB_LINK=\"mysql://trac:trac@mysql:3306/trac\" mastermindg/trac-ubuntu\n        ``` \n        \n\n\nThis can be run off of a mount to persist the data:\n\n```\ndocker run -d --name trac -p 80:80 -v /home/me/trac:/trac -e TRAC_PROJECT_NAME=custom_name mastermindg/trac-ubuntu\n```\n\n# Reference\n\n* [Trac Official Doc](https://trac.edgewall.org/wiki/TracGuide)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmastermindg%2Ftrac-docker-ubuntu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmastermindg%2Ftrac-docker-ubuntu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmastermindg%2Ftrac-docker-ubuntu/lists"}