forked from APSL/docker-thumbor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-test.yml
57 lines (57 loc) · 1.34 KB
/
docker-compose-test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
version: '2'
services:
thumbor:
image: apsl/thumbor-multiprocess:latest
volumes:
- data:/data
#ports:
#- "80:8000" # thumbor port
environment:
- ALLOW_UNSAFE_URL=True
- SECURITY_KEY=SECURIZE_ME
- DETECTORS=['thumbor.detectors.queued_detector.queued_complete_detector']
- RESULT_STORAGE=thumbor.result_storages.file_storage
- REDIS_STORAGE_SERVER_HOST=redis
- REDIS_STORAGE_SERVER_PORT=6379
- REDIS_STORAGE_SERVER_DB=0
- REDIS_QUEUE_SERVER_HOST=redis
- REDIS_QUEUE_SERVER_PORT=6379
- REDIS_QUEUE_SERVER_DB=0
- MIXED_STORAGE_DETECTOR_STORAGE=tc_redis.storages.redis_storage
- SENTRY_DSN_URL=""# put your sentry enpoint here
- THUMBOR_NUM_PROCESSES=16
links:
- redis:redis
networks:
- app
nginx:
image: apsl/thumbor-nginx:latest
links:
- thumbor:thumbor
volumes_from:
- thumbor:ro
ports:
- "8000:80" # nginx cache port (with failover to thumbor)
hostname: nginx
networks:
- app
remotecv:
image: apsl/remotecv:latest
links:
- redis:redis
environment:
- REDIS_HOST=redis
- REDIS_PORT=6379
- REDIS_DATABASE=0
networks:
- app
redis:
image: redis:latest
networks:
- app
volumes:
data:
driver: local
networks:
app:
driver: bridge