Giter VIP home page Giter VIP logo

docker-tracd's Introduction

Docker / Trac / Agilo

Run a existent Trac project (w/ Agilo) as a docker container

Prepare

  1. Clone this repository;

  2. If necessary, update the agilo for trac package on the vendor folder of the project;

  3. Do a local Local buid:

docker build -t tracd .

Run

Run with local build:

mkdir -p ./data/trac
docker run --name tracd -p 81:8080 -v ./data/trac:/trac tracd

OR, use the docker-compose.yml sample file on the root folder of the project:

docker-compose up

Init a new trac project

  1. Init the project:
docker-compose exec tracd trac-admin /trac initenv
docker-compose exec tracd trac-admin /trac permission add admin TRAC_ADMIN
  1. Create the .htpasswd file with credentials:
# sudo apt install apache2-utils
docker-compose exec tracd htpasswd -c /trac/.htpasswd admindocker-compose exec tracd 

Administration

docker-compose exec tracd trac-admin /trac

Trac Plugins

More Info

TO-DO

  • add option to create a new project

docker-tracd's People

Contributors

wagnerpinheiro avatar

Stargazers

Marcos Gonçalves avatar

docker-tracd's Issues

Erro nas URI

Ao executar o comando: sudo docker build -t tracd .

Aprensenta o erro:
=> ERROR [ 5/19] RUN easy_install https://trac-hacks.org/svn/ticketimportplugin/0.11 2.4s

[ 5/19] RUN easy_install https://trac-hacks.org/svn/ticketimportplugin/0.11:
0.505 Downloading https://trac-hacks.org/svn/ticketimportplugin/0.11
2.360 error: https://trac-hacks.org/svn/ticketimportplugin/0.11 hostname 'trac-hacks.org' doesn't match 'www.trac-hacks.org'


Dockerfile:11

9 | # Plugins:
10 | # http://trac-hacks.org/wiki/HackIndex
11 | >>> RUN easy_install https://trac-hacks.org/svn/ticketimportplugin/0.11
12 | RUN easy_install https://trac-hacks.org/svn/visualizationplugin/
13 | RUN easy_install https://trac-hacks.org/svn/awesomeattachmentsplugin/

ERROR: failed to solve: process "/bin/sh -c easy_install https://trac-hacks.org/svn/ticketimportplugin/0.11" did not complete successfully: exit code: 1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.