Skip to content

Commit

Permalink
Upgrade tilecloud-chain to 1.7.1
Browse files Browse the repository at this point in the history
And switch to use Redis by default instead of SQS between the tilecloud-chain
master and slaves.
  • Loading branch information
Patrick Valsecchi committed Aug 8, 2018
1 parent 62864c0 commit b80033c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docker/build/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ Sphinx==1.7.2 # doc
sphinx-prompt==1.0.0 # doc
SQLAlchemy==1.2.6
tilecloud==1.0.0 # Tile generation
tilecloud-chain==1.6.0.dev4 # Tile generation
tilecloud-chain==1.7.1 # Tile generation
transaction==2.2.1 # commons, geoportal
transifex-client==0.12.5 # Makefile, rq.filter: >=0.14
translationstring==1.3 # admin
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,14 +74,14 @@ ${service_defaults('memcached', 11211)}\
${service_defaults('redis', 6379)}\

tilecloudchain:
image: camptocamp/tilecloud-chain:1.6
image: camptocamp/tilecloud-chain:1.7
user: www-data
volumes_from:
- config:ro
${service_defaults('tilecloudchain', 8080)}\

tilegeneration_slave:
image: camptocamp/tilecloud-chain:1.6
image: camptocamp/tilecloud-chain:1.7
user: www-data
volumes_from:
- config:ro
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,10 @@ generation:
# maximum allowed consecutive errors, after it exit [default to 10]
maxconsecutive_errors: 10

redis:
url: '${tilegeneration_redis}'

# Not used if the previous redis section is not commented out
sqs:
# The region where the SQS queue is
region: eu-west-1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,7 @@ vars:
memcached_host: '{MEMCACHED_HOST}'
memcached_port: '{MEMCACHED_PORT}'
tilegeneration_sqs_queue: '{TILEGENERATION_SQS_QUEUE}'
tilegeneration_redis: 'redis://{REDIS_HOST}:{REDIS_PORT}'

pdfreport:
print_url: '{print_url}'
Expand Down

0 comments on commit b80033c

Please sign in to comment.