blob: e991da410d21dd2c55fafb6c4100cdcb3cc764ec [file] [log] [blame]
Scott Baker50421662016-06-27 22:09:48 -07001xos_db:
2 image: xosproject/xos-postgres
3 expose:
4 - "5432"
Matteo Scandolo76d7bcd2016-11-30 17:08:17 -08005 ports:
6 - "5432:5432"
Scott Baker50421662016-06-27 22:09:48 -07007
Matteo Scandolod23b7bd2016-11-18 15:52:45 -08008xos_redis:
9 image: redis
10 ports:
11 - "6379:6379"
12
Scott Baker50421662016-06-27 22:09:48 -070013xos_bootstrap_ui:
14 image: xosproject/xos
Matteo Scandolo6fde7182016-07-13 12:03:00 -070015 # command: sleep 86400
Scott Baker50421662016-06-27 22:09:48 -070016 command: python /opt/xos/manage.py runserver 0.0.0.0:9998 --insecure --makemigrations
17 environment:
18 - CONFIG_DIR
19 ports:
20 - "9998:9998"
21 links:
22 - xos_db
Matteo Scandolod23b7bd2016-11-18 15:52:45 -080023 - xos_redis:redis
Scott Baker50421662016-06-27 22:09:48 -070024 volumes:
25 - ../common/xos_common_config:/opt/xos/xos_configuration/xos_common_config
Scott Baker7ab02212016-06-29 14:12:15 -070026 - ../cord-pod/files/xos_vtn_config:/opt/xos/xos_configuration/xos_vtn_config:ro
Scott Bakerd0c49fd2016-12-13 11:48:59 -080027 - ../common/tosca/fixtures.yaml:/opt/xos/bootstrap_tosca/fixtures.yaml
28 - ./deployment.yaml:/opt/xos/bootstrap_tosca/deployment.yaml
Matteo Scandolo6fde7182016-07-13 12:03:00 -070029 - ../../xos/xos/api/utility:/opt/xos/api/utility
Matteo Scandolo6b3ee5d2016-08-05 10:49:09 -070030 - ../../xos/xos/templates:/opt/xos/templates
Matteo Scandolo4e3bc2a2016-07-22 11:19:19 -070031 - ../../xos/xos/core/templatetags:/opt/xos/core/templatetags
Matteo Scandolofade3ec2016-08-02 10:17:53 -070032 - ../../xos/xos/core/xoslib/dashboards:/opt/xos/core/xoslib/dashboards
33 - ../../xos/xos/core/xoslib/static/css:/opt/xos/core/xoslib/static/css
34 - ../../xos/xos/core/xoslib/static/images:/opt/xos/core/xoslib/static/images
35 - ../../xos/xos/core/xoslib/static/js:/opt/xos/core/xoslib/static/js
Matteo Scandolo6b3ee5d2016-08-05 10:49:09 -070036
37 # The following volumes are sometimes used in development,
38 # but they are not tested and they can break part of the system, handle with care.
39 # - ../../xos_services:/opt/xos_services
40 # - ../../xos/xos/core/models:/opt/xos/core/models
41 # - ../../xos/xos/tosca:/opt/xos/tosca
42 # - ../../xos/xos/xos:/opt/xos/xos
Scott Baker50421662016-06-27 22:09:48 -070043
44xos_synchronizer_onboarding:
Scott Bakerd25ae9f2016-10-20 15:43:33 -070045 image: xosproject/xos
Scott Baker50421662016-06-27 22:09:48 -070046 command: bash -c "cd /opt/xos/synchronizers/onboarding; ./run.sh"
Scott Baker50421662016-06-27 22:09:48 -070047 labels:
48 org.xosproject.kind: synchronizer
49 org.xosproject.target: onboarding
50 links:
51 - xos_db
52 volumes:
53 - /var/run/docker.sock:/var/run/docker.sock
54 - ./key_import:/opt/xos/key_import:ro
55 - ./onboarding-docker-compose:/opt/xos/synchronizers/onboarding/docker-compose
56 - ../../xos_services:/opt/xos_services
Scott Bakerda3b1592016-10-24 10:45:36 -070057 - ../../xos_libraries:/opt/xos_libraries
Scott Baker50421662016-06-27 22:09:48 -070058 log_driver: "json-file"
59 log_opt:
60 max-size: "100k"
61 max-file: "5"