Update docker instructions in README
This commit is contained in:
parent
fd9535c87a
commit
4e0cf1bd98
1 changed files with 6 additions and 5 deletions
|
@ -1,10 +1,11 @@
|
||||||
# With docker
|
# With docker
|
||||||
|
|
||||||
1. Clone the repository
|
**Warning:** `latest` is automatically built and published from the `master` branch. It is not recommended to use `latest` in production.
|
||||||
2. Run `docker build -t ipserv:latest .`
|
You should, instead, use a specific commit hash.
|
||||||
3. Run `docker run -it --name ipserv --restart unless-stopped -p 8080:80/tcp -e "GUNICORN_CMD_ARGS='-w $(nproc)'" -d ipserv:latest`
|
|
||||||
4. Access `http://localhost:8080/` in your browser
|
1. Run `docker run -it --name ipserv --restart unless-stopped -p 8080:80/tcp -e "GUNICORN_CMD_ARGS='-w $(nproc)'" -d git.i-am.nexus/nex/ipserv:latest`
|
||||||
5. Profit!?
|
2. Access `http://localhost:8080/` in your browser
|
||||||
|
3. Profit!?
|
||||||
|
|
||||||
## Without docker
|
## Without docker
|
||||||
|
|
||||||
|
|
Reference in a new issue