blob: c8910fd0f4701ed732ef8666a1d80b1a3df87d63 [file] [log] [blame]
Zack Williamsb74c9142016-12-14 17:07:12 -07001---
2version: '2'
3
4networks:
5 xos:
6 external: true
7
8services:
9 xos_db:
Scott Baker50421662016-06-27 22:09:48 -070010 image: xosproject/xos-postgres
Zack Williamsb74c9142016-12-14 17:07:12 -070011 networks:
12 - xos
Scott Baker50421662016-06-27 22:09:48 -070013 expose:
14 - "5432"
15
Zack Williamsb74c9142016-12-14 17:07:12 -070016 xos_bootstrap_ui:
Scott Baker50421662016-06-27 22:09:48 -070017 image: xosproject/xos
Zack Williamsb74c9142016-12-14 17:07:12 -070018 networks:
19 - xos
Scott Baker50421662016-06-27 22:09:48 -070020 command: python /opt/xos/manage.py runserver 0.0.0.0:9998 --insecure --makemigrations
21 ports:
22 - "9998:9998"
23 links:
24 - xos_db
25 volumes:
26 - ../common/xos_common_config:/opt/xos/xos_configuration/xos_common_config
Scott Baker7ab02212016-06-29 14:12:15 -070027 - ../cord-pod/files/xos_vtn_config:/opt/xos/xos_configuration/xos_vtn_config:ro
Scott Baker50421662016-06-27 22:09:48 -070028 - ../../xos_services:/opt/xos_services
Matteo Scandolofade3ec2016-08-02 10:17:53 -070029 - ../../xos/xos/core/tests:/opt/xos/core/tests
Scott Bakerd0c49fd2016-12-13 11:48:59 -080030 - ../common/tosca/fixtures.yaml:/opt/xos/bootstrap_tosca/fixtures.yaml
31 - ./deployment.yaml:/opt/xos/bootstrap_tosca/deployment.yaml
Zack Williamsb74c9142016-12-14 17:07:12 -070032 logging:
33 driver: "json-file"
34 options:
35 max-size: "1000k"
36 max-file: "5"
Scott Baker50421662016-06-27 22:09:48 -070037
Zack Williamsb74c9142016-12-14 17:07:12 -070038 xos_synchronizer_onboarding:
Scott Bakerd25ae9f2016-10-20 15:43:33 -070039 image: xosproject/xos
Zack Williamsb74c9142016-12-14 17:07:12 -070040 networks:
41 - xos
Scott Baker50421662016-06-27 22:09:48 -070042 command: bash -c "cd /opt/xos/synchronizers/onboarding; ./run.sh"
43# command: sleep 86400
44 labels:
45 org.xosproject.kind: synchronizer
46 org.xosproject.target: onboarding
47 links:
48 - xos_db
49 volumes:
50 - /var/run/docker.sock:/var/run/docker.sock
51 - ./key_import:/opt/xos/key_import:ro
52 - ./onboarding-docker-compose:/opt/xos/synchronizers/onboarding/docker-compose
53 - ../../xos_services:/opt/xos_services
Scott Bakerda3b1592016-10-24 10:45:36 -070054 - ../../xos_libraries:/opt/xos_libraries
Zack Williamsb74c9142016-12-14 17:07:12 -070055 logging:
56 driver: "json-file"
57 options:
58 max-size: "1000k"
59 max-file: "5"
60