Skip to content

Commit

Permalink
docs: Update instructions (#2895)
Browse files Browse the repository at this point in the history
* Update instructions

Additional details for using redis or postgres installed outside docker

* Update README.md

Co-authored-by: Tom Moor <tom.moor@gmail.com>

* Update README.md

Co-authored-by: Tom Moor <tom.moor@gmail.com>
  • Loading branch information
max-mykhailenko and tommoor authored Jan 9, 2022
1 parent 86e1714 commit ce27332
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,14 @@ For a manual self-hosted production installation these are the recommended steps

1. Start the container:

`docker run outlinewiki/outline`
`docker run --env-file=.env outlinewiki/outline`

1. Visit http://you_server_ip:3000 and you should be able to see Outline page

> Port number can be changed using the `PORT` environment variable
1. (Optional) You can add an `nginx` or other reverse proxy to serve your instance of Outline for a clean URL without the port number, support SSL, etc.
2. (Optional) If you setup your redis or postgres outside docker container you could use additional flag `--net="host"` for docker. In this case you will be able to use `localhost` as host in your `.env` file for redis and postgres.

### Terraform

Expand Down

0 comments on commit ce27332

Please sign in to comment.