https://github.com/jcarrano/trac-docker
Container for Trac Project Management
https://github.com/jcarrano/trac-docker
Last synced: about 1 year ago
JSON representation
Container for Trac Project Management
- Host: GitHub
- URL: https://github.com/jcarrano/trac-docker
- Owner: jcarrano
- Created: 2023-03-09T22:36:33.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-03-09T22:44:00.000Z (over 3 years ago)
- Last Synced: 2025-02-01T20:11:34.908Z (over 1 year ago)
- Language: Python
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Container for Trac 1.5
This is a simple container for Trac 1.5. It also includes the IniAdminPlugin.
Docker Hub: https://hub.docker.com/repository/docker/jcarrano/trac/general
## Usage
The following commands assume that your Trac environment it at `/my/trac/env`
on your local machine.
This examples use host networking but other options are possible.
Variables:
- TRAC_PORT: the port that trac will listen on (defaults to 80)
- PROJ_DIR: project directory inside the container (defaults to /trac-env)
### Pull
```sh
docker pull jcarrano/trac:1.5
```
### Launch/Setup
If the project directory is already initialized, the `-it` option is not
necessary. If not, launch an interactive session to set up the environment:
T set up, launch the container with
```sh
podman run -it -v /my/trac/env:/trac-env --name trac-test --network host -e TRAC_PORT=8080 jcarrano/trac:1.5
```
It will prompt you for options: project name, and admin password. You can leave
it running or exit with CTRL-C.
If it is already set-up, use
```sh
podman run -init -v /my/trac/env:/trac-env --name trac-test --network host -e TRAC_PORT=8080 jcarrano/trac:1.5
```
### Add a user
```sh
podman exec -it jcarrano/trac:1.5 adduser
```