https://github.com/jdcasey/kojak-docker
Docker-based adaptation of Kojak (https://github.com/sbadakhc/kojak)
https://github.com/jdcasey/kojak-docker
Last synced: over 1 year ago
JSON representation
Docker-based adaptation of Kojak (https://github.com/sbadakhc/kojak)
- Host: GitHub
- URL: https://github.com/jdcasey/kojak-docker
- Owner: jdcasey
- Created: 2014-10-09T03:52:32.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2016-08-29T14:30:50.000Z (almost 10 years ago)
- Last Synced: 2025-04-06T23:46:54.751Z (over 1 year ago)
- Language: Shell
- Size: 23.4 KB
- Stars: 6
- Watchers: 4
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Dockerized version of [Kojak](https://github.com/sbadakhc/kojak).
## Features Specific to the Dockerized Version
* Avahi is used to publish 'koji.local' from the koji server, to make it easier to use without modifying your `/etc/hosts`. (Or, so goes the theory.)
## Development Setup
Assuming the containers haven't been pushed to your Docker register (or the hub) yet, OR you've made local changes you want to try out.
### Step 1: Build `kojak-common`
$ cd /kojak-common
$ docker build --tag kojak/kojak-common .
### Step 2: Build `kojak-koji-db` (PostgreSQL DB)
$ cd /kojak-koji-db
$ docker build --tag kojak/kojak-koji-db .
### Step 3: Build `kojak-koji-server` (Monolithic Koji Install)
$ cd /kojak/koji-server
$ docker build --tag kojak/kojak-koji-server .
### Step 4: Start `kojidb` (PostgreSQL) Container
$ docker run -P -d --name kojidb kojak/kojak-koji-db
### Step 5: Start `koji` (Server) Container
$ docker run -P --name koji --link kojidb:kojidb kojak/kojak-koji-server
Once we have everything setup and working correctly, this should allow you to stand up a test instance of these containers.
## TODO
### Document envars for containers
1. Git repo to pull for koji sources
2. host/port for koji server