Skip to content

Latest commit

 

History

History
45 lines (34 loc) · 658 Bytes

README.md

File metadata and controls

45 lines (34 loc) · 658 Bytes

Gitit

Dockerfile for Gitit.

Getting started

$ docker run --rm -p 5001:5001 t13a/gitit

Configuration

Mount prepared volumes

$ docker run \
...
-v $(pwd)/gitit.conf:/gitit.conf \
-v $(pwd)/gitit:/gitit \
...
t13a/gitit

To generate default configuration, execute docker run --rm t13a/gitit gitit --print-default-config > gitit.conf. The user data directory will be populated automatically.

Set timezone

$ docker run \
...
-e TIMEZONE=Asia/Tokyo \
...
t13a/gitit

Set process UID/GID

$ docker run \
...
-e GITIT_UID=1234 \
-e GITIT_GID=5678 \
...
t13a/gitit