blob: 78a620edf085b29cc4999d494c434d04ab2dff0c [file] [log] [blame]
Scott Bakere95023b2017-02-23 09:50:04 -08001version: '2'
2
3networks:
4 xos:
5 external: true
6
7services:
8 synchronizer:
9 image: xosproject/exampleservice-synchronizer
10 networks:
11 - xos
12 #command: bash -c "cd /opt/xos/synchronizers/exampleservice; ./run-from-api.sh"
13 #command: bash -c "sleep 86400"
14 volumes:
15 - /opt/cord_profile/key_import/exampleservice_rsa:/opt/xos/services/exampleservice/keys/exampleservice_rsa:ro
16 - /opt/cord_profile/node_key:/opt/cord_profile/node_key:ro
17 - /opt/cord/build/platform-install/credentials/xosadmin@opencord.org:/opt/xos/services/exampleservice/credentials/xosadmin@opencord.org
18 external_links:
19 - rcord_xos_redis_1:redis
20 logging:
21 driver: "json-file"
22 options:
23 max-size: "1000k"
24 max-file: "5"