blob: 51eba35f95689005445bdcbb7ec51b08fe13d37c [file] [log] [blame]
Scott Baker50421662016-06-27 22:09:48 -07001xos_db:
2 image: xosproject/xos-postgres
3 expose:
4 - "5432"
5
6xos_bootstrap_ui:
7 image: xosproject/xos
Matteo Scandolo6fde7182016-07-13 12:03:00 -07008 # command: sleep 86400
Scott Baker50421662016-06-27 22:09:48 -07009 command: python /opt/xos/manage.py runserver 0.0.0.0:9998 --insecure --makemigrations
10 environment:
11 - CONFIG_DIR
12 ports:
13 - "9998:9998"
14 links:
15 - xos_db
16 volumes:
17 - ../common/xos_common_config:/opt/xos/xos_configuration/xos_common_config
Scott Baker7ab02212016-06-29 14:12:15 -070018 - ../cord-pod/files/xos_vtn_config:/opt/xos/xos_configuration/xos_vtn_config:ro
Matteo Scandolo6fde7182016-07-13 12:03:00 -070019 - ../../xos/xos/api/utility:/opt/xos/api/utility
Matteo Scandolo6b3ee5d2016-08-05 10:49:09 -070020 - ../../xos/xos/templates:/opt/xos/templates
Matteo Scandolo4e3bc2a2016-07-22 11:19:19 -070021 - ../../xos/xos/core/templatetags:/opt/xos/core/templatetags
Matteo Scandolofade3ec2016-08-02 10:17:53 -070022 - ../../xos/xos/core/xoslib/dashboards:/opt/xos/core/xoslib/dashboards
23 - ../../xos/xos/core/xoslib/static/css:/opt/xos/core/xoslib/static/css
24 - ../../xos/xos/core/xoslib/static/images:/opt/xos/core/xoslib/static/images
25 - ../../xos/xos/core/xoslib/static/js:/opt/xos/core/xoslib/static/js
Matteo Scandolo6b3ee5d2016-08-05 10:49:09 -070026
27 # The following volumes are sometimes used in development,
28 # but they are not tested and they can break part of the system, handle with care.
29 # - ../../xos_services:/opt/xos_services
30 # - ../../xos/xos/core/models:/opt/xos/core/models
31 # - ../../xos/xos/tosca:/opt/xos/tosca
32 # - ../../xos/xos/xos:/opt/xos/xos
Scott Baker50421662016-06-27 22:09:48 -070033
34xos_synchronizer_onboarding:
35 image: xosproject/xos-synchronizer-onboarding
36 command: bash -c "cd /opt/xos/synchronizers/onboarding; ./run.sh"
Scott Baker50421662016-06-27 22:09:48 -070037 labels:
38 org.xosproject.kind: synchronizer
39 org.xosproject.target: onboarding
40 links:
41 - xos_db
42 volumes:
43 - /var/run/docker.sock:/var/run/docker.sock
44 - ./key_import:/opt/xos/key_import:ro
45 - ./onboarding-docker-compose:/opt/xos/synchronizers/onboarding/docker-compose
46 - ../../xos_services:/opt/xos_services
47 log_driver: "json-file"
48 log_opt:
49 max-size: "100k"
50 max-file: "5"