File tree 2 files changed +5
-4
lines changed
2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 5
5
6
6
RUN apt-get -qq update && \
7
7
apt-get -qy install gettext-base \
8
- fcgiwrap git cgit highlight \
9
- ca-certificates nginx gettext-base \
10
- markdown python3-markdown python3-docutils groff && \
8
+ fcgiwrap git cgit highlight \
9
+ ca-certificates nginx gettext-base \
10
+ markdown python3-markdown python3-docutils groff && \
11
11
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
12
12
13
13
RUN useradd nginx
Original file line number Diff line number Diff line change 1
1
test_srv :
2
+ container_name : nginx-cgit-test
2
3
image : emarcs/nginx-cgit
3
4
ports :
4
5
- 8181:80
5
6
volumes :
6
7
- /srv/git:/srv/git
7
8
# for a custom nginx configuration
8
- - . /default.conf:/etc/nginx/sites-available/default
9
+ - ${PWD} /default.conf:/etc/nginx/sites-available/default
9
10
environment :
10
11
CGIT_TITLE : ' My awesome git repos'
11
12
CGIT_DESC : ' Presented by Cgit on Docker'
You can’t perform that action at this time.
0 commit comments