blob: f0408e315a42c06c31b478dd4c2cffebdc889a41 [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
Matteo Scandolo82d64ac2017-01-13 09:49:35 -080016 xos_redis:
17 image: redis
18 networks:
19 - xos
20 ports:
21 - "6379:6379"
22 logging:
23 driver: "json-file"
24 options:
25 max-size: "1000k"
26 max-file: "5"
27
Zack Williamsb74c9142016-12-14 17:07:12 -070028 xos_bootstrap_ui:
Rizwan Haider752a48c2016-08-18 15:37:06 -040029 image: xosproject/xos
Zack Williamsb74c9142016-12-14 17:07:12 -070030 networks:
31 - xos
Rizwan Haider752a48c2016-08-18 15:37:06 -040032 # command: sleep 86400
Matteo Scandoloa317b872017-01-10 12:02:41 -080033 command: python /opt/xos/manage.py runserver 0.0.0.0:9001 --insecure --makemigrations
Rizwan Haider752a48c2016-08-18 15:37:06 -040034 environment:
35 - CONFIG_DIR
36 ports:
Matteo Scandoloa317b872017-01-10 12:02:41 -080037 - "9001:9001"
Rizwan Haider752a48c2016-08-18 15:37:06 -040038 links:
39 - xos_db
40 volumes:
41 - ../common/xos_common_config:/opt/xos/xos_configuration/xos_common_config
42 - ../cord-pod/files/xos_vtn_config:/opt/xos/xos_configuration/xos_vtn_config:ro
Scott Bakerd0c49fd2016-12-13 11:48:59 -080043 - ../common/tosca/fixtures.yaml:/opt/xos/bootstrap_tosca/fixtures.yaml
44 - ./deployment.yaml:/opt/xos/bootstrap_tosca/deployment.yaml
Rizwan Haider752a48c2016-08-18 15:37:06 -040045 - ../../xos_services:/opt/xos_services
46 - ../../xos/xos/api/utility:/opt/xos/api/utility
47 - ../../xos/xos/core/models:/opt/xos/core/models
48 - ../../xos/xos/core/templatetags:/opt/xos/core/templatetags
49 - ../../xos/xos/core/xoslib/dashboards:/opt/xos/core/xoslib/dashboards
50 - ../../xos/xos/core/xoslib/static/css:/opt/xos/core/xoslib/static/css
51 - ../../xos/xos/core/xoslib/static/images:/opt/xos/core/xoslib/static/images
52 - ../../xos/xos/core/xoslib/static/js:/opt/xos/core/xoslib/static/js
53 - ../../xos/xos/xos:/opt/xos/xos
54 - ../../xos/xos/tosca:/opt/xos/tosca
55 - ../../xos/xos/synchronizers:/opt/xos/synchronizers
Zack Williamsb74c9142016-12-14 17:07:12 -070056 logging:
57 driver: "json-file"
58 options:
59 max-size: "1000k"
60 max-file: "5"
Rizwan Haider752a48c2016-08-18 15:37:06 -040061
Zack Williamsb74c9142016-12-14 17:07:12 -070062 xos_synchronizer_onboarding:
Scott Bakerd25ae9f2016-10-20 15:43:33 -070063 image: xosproject/xos
Zack Williamsb74c9142016-12-14 17:07:12 -070064 networks:
65 - xos
Rizwan Haider752a48c2016-08-18 15:37:06 -040066 command: bash -c "cd /opt/xos/synchronizers/onboarding; ./run.sh"
67 labels:
68 org.xosproject.kind: synchronizer
69 org.xosproject.target: onboarding
70 links:
71 - xos_db
72 volumes:
73 - /var/run/docker.sock:/var/run/docker.sock
74 - ./key_import:/opt/xos/key_import:ro
75 - ./onboarding-docker-compose:/opt/xos/synchronizers/onboarding/docker-compose
76 - ../../xos_services:/opt/xos_services
Scott Bakerda3b1592016-10-24 10:45:36 -070077 - ../../xos_libraries:/opt/xos_libraries
Zack Williamsb74c9142016-12-14 17:07:12 -070078 logging:
79 driver: "json-file"
80 options:
81 max-size: "1000k"
82 max-file: "5"