CORD-880 modify exampleservice synchronizer to use new_base
Change-Id: I5056982f7dbda607244f14b0095f56f14d10a526
diff --git a/xos/synchronizer/docker-compose.yml b/xos/synchronizer/docker-compose.yml
new file mode 100644
index 0000000..78a620e
--- /dev/null
+++ b/xos/synchronizer/docker-compose.yml
@@ -0,0 +1,24 @@
+version: '2'
+
+networks:
+ xos:
+ external: true
+
+services:
+ synchronizer:
+ image: xosproject/exampleservice-synchronizer
+ networks:
+ - xos
+ #command: bash -c "cd /opt/xos/synchronizers/exampleservice; ./run-from-api.sh"
+ #command: bash -c "sleep 86400"
+ volumes:
+ - /opt/cord_profile/key_import/exampleservice_rsa:/opt/xos/services/exampleservice/keys/exampleservice_rsa:ro
+ - /opt/cord_profile/node_key:/opt/cord_profile/node_key:ro
+ - /opt/cord/build/platform-install/credentials/xosadmin@opencord.org:/opt/xos/services/exampleservice/credentials/xosadmin@opencord.org
+ external_links:
+ - rcord_xos_redis_1:redis
+ logging:
+ driver: "json-file"
+ options:
+ max-size: "1000k"
+ max-file: "5"