This repository has been archived by the owner on Jul 29, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 110
/
production.yml
81 lines (81 loc) · 2.29 KB
/
production.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
version: '2'
services:
thumbor:
image: apsl/thumbor:latest
volumes:
- logs:/logs
- data:/data
environment:
- ALLOW_UNSAFE_URL=False
- DETECTORS=['thumbor.detectors.queued_detector.queued_complete_detector']
- AWS_ACCESS_KEY_ID= # put your AWS_ACCESS_KEY here
- AWS_SECRET_ACCESS_KEY= # put your AWS_SECRET_ACCESS_KEY here
# Is needed for buckets that demand the new signing algorithm (v4)
# - S3_USE_SIGV4=true
# - TC_AWS_REGION=eu-central-1
- TC_AWS_LOADER_BUCKET=bucket-name
- LOADER=tc_aws.loaders.s3_loader
- SECURITY_KEY=SECURIZE_ME
# - LOG_LEVEL=debug
- STORAGE=thumbor.storages.mixed_storage
- MIXED_STORAGE_FILE_STORAGE=thumbor.storages.file_storage
- 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
- STORAGE_EXPIRATION_SECONDS=None
- RESULT_STORAGE_EXPIRATION_SECONDS=None
- MIXED_STORAGE_DETECTOR_STORAGE=tc_redis.storages.redis_storage
- SENTRY_DSN_URL= # put your sentry enpoint here
links:
- redis:redis
restart: always
networks:
- frontend
nginx:
image: apsl/thumbor-nginx:latest
links:
- thumbor:thumbor
volumes_from:
- thumbor
ports:
- "80:80" # nginx cache port (with failover to thumbor)
hostname: nginx
networks:
- frontend
remotecv:
image: apsl/remotecv:latest
links:
- redis:redis
environment:
- REMOTECV_REDIS_HOST=redis
- REMOTECV_REDIS_PORT=6379
- REMOTECV_REDIS_DATABASE=0
- SENTRY_URL= # put your sentry enpoint here
- REMOTECV_LOADER=remotecv_aws.loader
- AWS_ACCESS_KEY_ID= # put your AWS_ACCESS_KEY here
- AWS_SECRET_ACCESS_KEY= # put your AWS_SECRET_ACCESS_KEY here
- AWS_LOADER_BUCKET=bucket-name
# - LOG_LEVEL: DEBUG
restart: always
networks:
- backend
redis:
image: redis:latest
restart: always
networks:
- frontend
- backend
volumes:
data:
driver: local
logs:
driver: local
networks:
frontend:
driver: overlay
backend:
driver: overlay