Skip to content
This repository was archived by the owner on Jun 27, 2019. It is now read-only.

Commit 6ab9b0e

Browse files
committed
Setup thumbor with docker-compose.yml
Problem: Although thumbor is reachable from within the container, I cannot see any thumbnails in development environment. Maybe the seeder does not create thumbnails?
1 parent 9f2e9a5 commit 6ab9b0e

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

README.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -129,14 +129,12 @@ Getting up and running is as easy as 1, 2, 3, 4 ... 5.
129129

130130
7. Setup and Start Thumbnail Service (optional)
131131

132-
We are using [Thumbor](https://github.com/thumbor/thumbor) as a Thumbnail Microservice.
133-
You can install it locally if you like but this is totally optional.
134-
135-
**Install OR use docker**
136-
137-
- At first you have to [install](http://thumbor.readthedocs.io/en/latest/installing.html) it locally and start it in the console with `thumbor` **OR** run it with docker `docker run -p 8000:8000 apsl/thumbor`
138-
- Set the `thumbor.url` in `config/local.json` to `http://localhost:8888` (with docker `http://localhost:8000`) if not defined differently. The `thumbor.key` does not necessarily have to be defined, it just makes the URL more secure.
139-
132+
Install [Thumbor](https://github.com/thumbor/thumbor) locally on your machine according to the [documentation](http://thumbor.readthedocs.io/en/latest/installing.html) and start it with:
133+
```sh
134+
$ thumbor
135+
```
136+
Set the `thumbor.url` in `config/local.json` to `http://localhost:8888`.
137+
The `thumbor.key` does not necessarily have to be defined, it just makes the URL more secure.
140138
> Do not forget to always start it if you choose that setup or otherwise you will not see any pictures at all.
141139
142140
### Local Configuration

docker-compose.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,5 @@ services:
2020
ports:
2121
- "1080:80"
2222
- "1025:25"
23+
thumbor:
24+
image: apsl/thumbor

0 commit comments

Comments
 (0)