Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sergk/docker-cgit
cgit running in docker environment
https://github.com/sergk/docker-cgit
cgit docker docker-compose
Last synced: about 1 month ago
JSON representation
cgit running in docker environment
- Host: GitHub
- URL: https://github.com/sergk/docker-cgit
- Owner: SergK
- Created: 2017-03-09T11:56:26.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-03-09T21:38:44.000Z (almost 8 years ago)
- Last Synced: 2024-10-29T23:34:16.748Z (2 months ago)
- Topics: cgit, docker, docker-compose
- Language: CSS
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# docker-cgit
Docker compose, cgit, uwsgi, proxy nginx# Installation
Install docker-compose (virtualenv can ne used as well)
# Steps to deploy
* Update **env.config** file to meet your requirements:
```bash
# Data volume root dir
export VOLUME_PATH=/srv/cgit-data# # will be accessable with https://WEB_SERVER_NAME
export WEB_SERVER_NAME=sandbox.example.com
export WEB_SERVER_PORT=80
```# Running
Please check **./manage.sh** for help
```bash
Usage: ./manage.sh ACTIONACTION:
init [Optional] generate config files,
build required images
status get containers status
debug run docker-compose in foreground
start start all containers in background
stop stop all containers
```# Usage
* Get access to cgit server with address: `http://WEB_SERVER_NAME:WEB_SERVER_PORT`
* Put your git repos to `VOLUME_PATH`# Notes
* you can customize cgit static content from `.nginx/cgit-static`
* You need to have sudo for `mkdir` and `chown` commands, since container
runs under `cgit` user and stores data on `VOLUME_PATH`