Skip to content
Permalink
Browse files

High-availability deployment of restbase services

  • Loading branch information...
FlorianSW committed Aug 25, 2019
1 parent c204d9c commit 126d9f263244c4e7e3e0dc593cd1672a5939a1cf
Showing with 12 additions and 0 deletions.
  1. +12 −0 docker-compose.yml
@@ -1,22 +1,34 @@
version: '3'

x-deploy: &deploy
stop_grace_period: 5s
deploy:
replicas: 2
update_config:
parallelism: 1
failure_action: rollback

services:
citoid:
<<: *deploy
image: droidwiki/citoid
depends_on:
- zotero
volumes:
- ./citoid/config.yml:/bin/config.yml

zotero:
<<: *deploy
image: zotero/translation-server

parsoid:
<<: *deploy
image: droidwiki/parsoid
volumes:
- ./parsoid/config.yml:/bin/config.yaml

restbase:
<<: *deploy
image: droidwiki/restbase
depends_on:
- citoid

0 comments on commit 126d9f2

Please sign in to comment.
You can’t perform that action at this time.