forked from APSL/docker-thumbor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-travis.yml
84 lines (84 loc) · 2.14 KB
/
docker-compose-travis.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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
version: '2'
services:
pypiserver:
image: jcsaaddupuy/pypiserver
#command: pypi-server -P '' -u ''
volumes:
- "./wheelhouse:/data/packages"
ports:
- "0.0.0.0:9009:8080"
thumbor:
image: apsl/thumbor
environment:
- RESULT_STORAGE=thumbor.result_storages.file_storage
- RESULT_STORAGE_STORES_UNSAFE=True
- STORAGE=thumbor.storages.mixed_storage
- DETECTORS=["thumbor.detectors.queued_detector.queued_complete_detector"]
- 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
volumes:
- data:/data
links:
- redis:redis
ports:
- "127.0.0.1:8001:8000" # thumbor port
networks:
- app
thumbormultiprocess:
image: apsl/thumbor-multiprocess
environment:
- RESULT_STORAGE=thumbor.result_storages.file_storage
- RESULT_STORAGE_STORES_UNSAFE=True
- STORAGE=thumbor.storages.mixed_storage
- DETECTORS=["thumbor.detectors.queued_detector.queued_complete_detector"]
- 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
volumes:
- ./data:/data
links:
- redis:redis
ports:
- "127.0.0.1:8002:8000" # thumbor port
networks:
- app
nginx:
image: apsl/thumbor-nginx
links:
- thumbor:thumbor
volumes_from:
- thumbor:ro
ports:
- "127.0.0.1:8003:80" # thumbor port
hostname: nginx
networks:
- app
remotecv:
image: apsl/remotecv
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