blob: d5307a93bb2918f40bad6c597138b9cc7e116bc4 [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:
Rizwan Haider752a48c2016-08-18 15:37:06 -040010 image: xosproject/xos-postgres
Zack Williamsb74c9142016-12-14 17:07:12 -070011 networks:
12 - xos
Rizwan Haider752a48c2016-08-18 15:37:06 -040013 expose:
14 - "5432"
15
Zack Williamsb74c9142016-12-14 17:07:12 -070016 xos_bootstrap_ui:
Rizwan Haider752a48c2016-08-18 15:37:06 -040017 image: xosproject/xos
Zack Williamsb74c9142016-12-14 17:07:12 -070018 networks:
19 - xos
Rizwan Haider752a48c2016-08-18 15:37:06 -040020 # command: sleep 86400
21 command: python /opt/xos/manage.py runserver 0.0.0.0:9998 --insecure --makemigrations
22 environment:
23 - CONFIG_DIR
24 ports:
25 - "9998:9998"
26 links:
27 - xos_db
28 volumes:
29 - ../common/xos_common_config:/opt/xos/xos_configuration/xos_common_config
30 - ../cord-pod/files/xos_vtn_config:/opt/xos/xos_configuration/xos_vtn_config:ro
Scott Bakerd0c49fd2016-12-13 11:48:59 -080031 - ../common/tosca/fixtures.yaml:/opt/xos/bootstrap_tosca/fixtures.yaml
32 - ./deployment.yaml:/opt/xos/bootstrap_tosca/deployment.yaml
Rizwan Haider752a48c2016-08-18 15:37:06 -040033 - ../../xos_services:/opt/xos_services
34 - ../../xos/xos/api/utility:/opt/xos/api/utility
35 - ../../xos/xos/core/models:/opt/xos/core/models
36 - ../../xos/xos/core/templatetags:/opt/xos/core/templatetags
37 - ../../xos/xos/core/xoslib/dashboards:/opt/xos/core/xoslib/dashboards
38 - ../../xos/xos/core/xoslib/static/css:/opt/xos/core/xoslib/static/css
39 - ../../xos/xos/core/xoslib/static/images:/opt/xos/core/xoslib/static/images
40 - ../../xos/xos/core/xoslib/static/js:/opt/xos/core/xoslib/static/js
41 - ../../xos/xos/xos:/opt/xos/xos
42 - ../../xos/xos/tosca:/opt/xos/tosca
43 - ../../xos/xos/synchronizers:/opt/xos/synchronizers
Zack Williamsb74c9142016-12-14 17:07:12 -070044 logging:
45 driver: "json-file"
46 options:
47 max-size: "1000k"
48 max-file: "5"
Rizwan Haider752a48c2016-08-18 15:37:06 -040049
Zack Williamsb74c9142016-12-14 17:07:12 -070050 xos_synchronizer_onboarding:
Scott Bakerd25ae9f2016-10-20 15:43:33 -070051 image: xosproject/xos
Zack Williamsb74c9142016-12-14 17:07:12 -070052 networks:
53 - xos
Rizwan Haider752a48c2016-08-18 15:37:06 -040054 command: bash -c "cd /opt/xos/synchronizers/onboarding; ./run.sh"
55 labels:
56 org.xosproject.kind: synchronizer
57 org.xosproject.target: onboarding
58 links:
59 - xos_db
60 volumes:
61 - /var/run/docker.sock:/var/run/docker.sock
62 - ./key_import:/opt/xos/key_import:ro
63 - ./onboarding-docker-compose:/opt/xos/synchronizers/onboarding/docker-compose
64 - ../../xos_services:/opt/xos_services
Scott Bakerda3b1592016-10-24 10:45:36 -070065 - ../../xos_libraries:/opt/xos_libraries
Zack Williamsb74c9142016-12-14 17:07:12 -070066 logging:
67 driver: "json-file"
68 options:
69 max-size: "1000k"
70 max-file: "5"