Scott Baker | e95023b | 2017-02-23 09:50:04 -0800 | [diff] [blame^] | 1 | version: '2' |
| 2 | |
| 3 | networks: |
| 4 | xos: |
| 5 | external: true |
| 6 | |
| 7 | services: |
| 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" |