docker: update docker-compose file.
* Listen on port 3000 instead of port 80. Port 80 is prone to conflicts with other webservers. * Use the production version of the Danbooru Docker image. It's less likely to have bugs than master. * Fix the autoinstall script to work with `curl ... | sh`. * Lower PUMA_WORKERS to 1 to reduce memory usage.
This commit is contained in:
12
README.md
12
README.md
@@ -2,22 +2,20 @@
|
||||
|
||||
## Quickstart
|
||||
|
||||
Clone this repository and run `bin/danbooru` to start a basic Danbooru instance:
|
||||
Run this to start a basic Danbooru instance:
|
||||
|
||||
```sh
|
||||
git clone https://github.com/danbooru/danbooru
|
||||
cd danbooru
|
||||
./bin/danbooru
|
||||
curl -sSL https://raw.githubusercontent.com/danbooru/danbooru/master/bin/danbooru | sh
|
||||
```
|
||||
|
||||
This will install [Docker Compose](https://docs.docker.com/compose/) and use it
|
||||
to start Danbooru. This will take several minutes and produce lots of output.
|
||||
When it's done, Danbooru will be running at http://localhost.
|
||||
to start Danbooru. When it's done, Danbooru will be running at http://localhost:3000.
|
||||
|
||||
Alternatively, if you already have Docker Compose installed, you can just do:
|
||||
|
||||
```sh
|
||||
docker-compose -f config/docker/docker-compose.simple.yaml up
|
||||
wget https://raw.githubusercontent.com/danbooru/danbooru/master/docker-compose.yaml
|
||||
docker-compose up
|
||||
```
|
||||
|
||||
## Manual Installation
|
||||
|
||||
Reference in New Issue
Block a user