Skip to content

Commit

Permalink
docs: use container from randombenj/docat
Browse files Browse the repository at this point in the history
  • Loading branch information
randombenj committed Nov 12, 2019
1 parent 7109e19 commit 34e9d8b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,13 @@ The simplest way is to build and run the docker container,
you can optionally use volumes to save state:

```sh
docker build -t docat .
# run container in background and persist data (docs, nginx configs)
docker run \
--detach \
--volume /path/to/doc:/var/docat/doc/ \
--volume /path/to/locations:/etc/nginx/locations.d/ \
--publish 8000:80 \
docat
randombenj/docat
```

Go to [localhost:8000](http://localhost:8000) to view your docat instance:
Expand Down

0 comments on commit 34e9d8b

Please sign in to comment.