blob: 000a796c3df2a84f58726c7ff70922e4ecfc8ed8 [file] [log] [blame]
Andy Bavier094e7162016-11-02 17:01:22 -04001xos_db:
2 image: xosproject/xos-postgres
3 expose:
4 - "5432"
5
6xos_bootstrap_ui:
7 image: xosproject/xos
8 command: python /opt/xos/manage.py runserver 0.0.0.0:9998 --insecure --makemigrations
9 environment:
10 - CONFIG_DIR
11 ports:
12 - "9998:9998"
13 links:
14 - xos_db
15 volumes:
16 - ../common/xos_common_config:/opt/xos/xos_configuration/xos_common_config
17 - ../cord-pod/files/xos_vtn_config:/opt/xos/xos_configuration/xos_vtn_config:ro
18 - ../../xos/xos/api/utility:/opt/xos/api/utility
19 - ../../xos/xos/templates:/opt/xos/templates
20 - ../../xos/xos/core/templatetags:/opt/xos/core/templatetags
21 - ../../xos/xos/core/xoslib/dashboards:/opt/xos/core/xoslib/dashboards
22 - ../../xos/xos/core/xoslib/static/css:/opt/xos/core/xoslib/static/css
23 - ../../xos/xos/core/xoslib/static/images:/opt/xos/core/xoslib/static/images
24 - ../../xos/xos/core/xoslib/static/js:/opt/xos/core/xoslib/static/js
25
26 # The following volumes are sometimes used in development,
27 # but they are not tested and they can break part of the system, handle with care.
28 # - ../../xos_services:/opt/xos_services
29 # - ../../xos/xos/core/models:/opt/xos/core/models
30 # - ../../xos/xos/tosca:/opt/xos/tosca
31 # - ../../xos/xos/xos:/opt/xos/xos
32
33xos_synchronizer_onboarding:
34 image: xosproject/xos
35 command: bash -c "cd /opt/xos/synchronizers/onboarding; ./run.sh"
36 labels:
37 org.xosproject.kind: synchronizer
38 org.xosproject.target: onboarding
39 links:
40 - xos_db
41 volumes:
42 - /var/run/docker.sock:/var/run/docker.sock
43 - ./key_import:/opt/xos/key_import:ro
44 - ./onboarding-docker-compose:/opt/xos/synchronizers/onboarding/docker-compose
45 - ../../xos_services:/opt/xos_services
Matteo Scandolo87104362016-11-10 15:04:21 -080046 - ../../xos_libraries:/opt/xos_libraries
Andy Bavier094e7162016-11-02 17:01:22 -040047 log_driver: "json-file"
48 log_opt:
49 max-size: "100k"
50 max-file: "5"