8000 GitHub - marina-lab/docker-trac: Dockerized Trac Issue Tracker
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

marina-lab/docker-trac

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-trac

Dockerized Trac. A small patch to enable injecting environment variables into trac.ini is used.

6AD5 Instructions

It is recommended to use this as a base image. Your image should contain a custom trac.ini and another other plugins or static assets needed.

For connection parameters, it is recommended to use environment variables. If you have your connection string in the environment variable $DATABASE_URL, trac.ini should have:

database = %(DATABASE_URL)s

Run:

docker run -d -p 8080:8080 trac

Database Setup

You need a database before you can run trac commands or use the web interface.

To create a trac user in Postgres:

create role trac with login;
grant connect on database trac to trac;
grant usage on schema public to trac;

Plugins

Only plugins we consider essential are included:

Plugin sources are vendored in, and can be found in plugins/. Plugins are vendored because installing from sources on the network in the Dockerfile can be slow/fragile/complex. Plugins are built in to binary distribution eggs, which are placed in src/trac_project/plugins/.

About

Dockerized Trac Issue Tracker

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0