This repo is used to host a bunldle to create a docker container running Trac, which is an enhanced wiki and issue tracking system for software development projects. Trac uses a minimalistic approach to web-based software project management. It helps developers write great software while staying out of the way. Trac should impose as little as possible on a team's established development process and policies.
-
Build it using Dockerfile
$ git clone https://github.com/devhack-seattle/trac-docker $ cd trac-docker $ docker build -t ghcr.io/devhack-seattle/trac:latest -
just pull it
$ docker pull ghcr.io/devhack-seattle/trac:latest
Just run
$ docker run -d -p 8000:8000 --name my_trac ghcr.io/devhack-seattle/trac:latest
After several seconds, you can visit the web page at http://localhost:8000
Most of below
-
TRAC_PROJECT_NAME(default istrac_project):the Trac project name
-
TRAC_DIR(default is/var/local/trac):This directory stores all the data and configurations. You can bind a volume when starting a container.
-
TRAC_INI(default is$TRAC_DIR/conf/trac.ini):This ini file will be automatically generated by the container. Also you can made some customizations based on your needs.
-
DB_LINK(default issqlite:db/trac.db):A database system is needed. The database can be either
SQLite,PostgreSQLorMySQL.Please refer https://trac.edgewall.org/wiki/TracInstall#MandatoryDependencies for more detailed infomation.
-
For the PostgreSQL database
See DatabaseBackend for details.
-
For the MySQL database
Trac works well with MySQL. Given the caveats and known issues surrounding MySQL, read the MySqlDb page before creating the database.
-