Docker images for running a standalone Trac instance (git, or with svnserve included).
- Trac 0.12: a Docker image to run Trac 0.12 in a container together with svnserve (via supervisord). Deprecated. Mostly untested.
- Trac 1.0-svn: a Docker image to run Trac 1.0 in a container together with svnserve (via supervisord).
- Trac 1.0-git: a Docker image to run Trac 1.0 in a container, using a (local) git repository.
/trac
: the Trac environment, with the configuration file inconf/trac.ini
, sqlite database indb/trac.sqlite
, etc./svn
: the SVN repository/git
: the local git repository
docker run -ti --rm --volume /data/myproj/tracenv:/trac --volume /data/myproj/svn:/svn --volume /data/myproj/supervisor_logs:/var/log/supervisor -p 80:80 -p 3690:3690 trac
docker run -ti --rm --volume /data/myproj/tracenv:/trac --volume /data/myproj/git:/git -p 80:80 trac
[components]
tracopt.versioncontrol.git.* = enabled
[account-manager]
password_store = SessionStore
hash_method = HtDigestHashMethod
[trac]
base_url = http://example.com/
database = sqlite:/trac/db/trac.sqlite
repository_type = git
repository_dir = /git