Skip to content

Commit 6f6c9c6

Browse files
committed
[fix] add readme
1 parent de6236b commit 6f6c9c6

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

README.rst

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Installation
6060
Docker
6161
++++++
6262

63-
Use docker-compose with postgresql:
63+
Use `docker image`_ and following `docker-compose.yml`_ (uses postgresql):
6464

6565
.. code-block:: yaml
6666
@@ -95,7 +95,7 @@ Use docker-compose with postgresql:
9595
## Override standard port
9696
#PORT: 80
9797
98-
## Set "X-Headers" for nginx (e.g. X-Accel-Expires)
98+
## Set "X-Headers" (e.g. X-Forwarded-For)
9999
#PROXY_MODE: 1
100100
101101
## Set 0 when you want to disable proxying from global pypi
@@ -114,7 +114,7 @@ Use docker-compose with postgresql:
114114
Centos
115115
++++++
116116

117-
Use prepared Centos 7 rpm from releases.
117+
Use prepared Centos 7 rpm from `releases`_.
118118

119119
Manual installation:
120120

@@ -133,7 +133,7 @@ Manual installation:
133133
Debian (Ubuntu)
134134
+++++++++++++++
135135

136-
Use prepared deb files from releases.
136+
Use prepared deb files from `releases`_.
137137

138138
Manual installation:
139139

@@ -186,3 +186,8 @@ How upload your own package
186186
187187
cd your_package_root_folder
188188
python setup.py sdist register upload -r mypypi
189+
190+
191+
.. _releases: https://github.com/mosquito/pypi-server/releases/
192+
.. _docker image: https://hub.docker.com/r/mosquito/pypi-server/
193+
.. _docker-compose.yml: https://github.com/mosquito/pypi-server/blob/master/docker-compose.yml

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ services:
2929
## Override standard port
3030
#PORT: 80
3131

32-
## Set "X-Headers" for nginx (e.g. X-Accel-Expires)
32+
## Set "X-Headers" (e.g. X-Forwarded-For)
3333
#PROXY_MODE: 1
3434

3535
## Set 0 when you want to disable proxying from global pypi

0 commit comments

Comments
 (0)