blob: a2aadd224c72aa3ba18929f23c1a5878cd0c51ec [file] [log] [blame]
Scott Baker50421662016-06-27 22:09:48 -07001xos_db:
2 image: xosproject/xos-postgres
3 expose:
4 - "5432"
5
Matteo Scandolod23b7bd2016-11-18 15:52:45 -08006xos_redis:
7 image: redis
8 ports:
9 - "6379:6379"
10
Scott Baker50421662016-06-27 22:09:48 -070011xos_bootstrap_ui:
12 image: xosproject/xos
Matteo Scandolo6fde7182016-07-13 12:03:00 -070013 # command: sleep 86400
Scott Baker50421662016-06-27 22:09:48 -070014 command: python /opt/xos/manage.py runserver 0.0.0.0:9998 --insecure --makemigrations
15 environment:
16 - CONFIG_DIR
17 ports:
18 - "9998:9998"
19 links:
20 - xos_db
Matteo Scandolod23b7bd2016-11-18 15:52:45 -080021 - xos_redis:redis
Scott Baker50421662016-06-27 22:09:48 -070022 volumes:
23 - ../common/xos_common_config:/opt/xos/xos_configuration/xos_common_config
Scott Baker7ab02212016-06-29 14:12:15 -070024 - ../cord-pod/files/xos_vtn_config:/opt/xos/xos_configuration/xos_vtn_config:ro
Matteo Scandolo6fde7182016-07-13 12:03:00 -070025 - ../../xos/xos/api/utility:/opt/xos/api/utility
Matteo Scandolo6b3ee5d2016-08-05 10:49:09 -070026 - ../../xos/xos/templates:/opt/xos/templates
Matteo Scandolo4e3bc2a2016-07-22 11:19:19 -070027 - ../../xos/xos/core/templatetags:/opt/xos/core/templatetags
Matteo Scandolofade3ec2016-08-02 10:17:53 -070028 - ../../xos/xos/core/xoslib/dashboards:/opt/xos/core/xoslib/dashboards
29 - ../../xos/xos/core/xoslib/static/css:/opt/xos/core/xoslib/static/css
30 - ../../xos/xos/core/xoslib/static/images:/opt/xos/core/xoslib/static/images
31 - ../../xos/xos/core/xoslib/static/js:/opt/xos/core/xoslib/static/js
Matteo Scandolo6b3ee5d2016-08-05 10:49:09 -070032
33 # The following volumes are sometimes used in development,
34 # but they are not tested and they can break part of the system, handle with care.
35 # - ../../xos_services:/opt/xos_services
36 # - ../../xos/xos/core/models:/opt/xos/core/models
37 # - ../../xos/xos/tosca:/opt/xos/tosca
38 # - ../../xos/xos/xos:/opt/xos/xos
Scott Baker50421662016-06-27 22:09:48 -070039
40xos_synchronizer_onboarding:
Scott Bakerd25ae9f2016-10-20 15:43:33 -070041 image: xosproject/xos
Scott Baker50421662016-06-27 22:09:48 -070042 command: bash -c "cd /opt/xos/synchronizers/onboarding; ./run.sh"
Scott Baker50421662016-06-27 22:09:48 -070043 labels:
44 org.xosproject.kind: synchronizer
45 org.xosproject.target: onboarding
46 links:
47 - xos_db
48 volumes:
49 - /var/run/docker.sock:/var/run/docker.sock
50 - ./key_import:/opt/xos/key_import:ro
51 - ./onboarding-docker-compose:/opt/xos/synchronizers/onboarding/docker-compose
52 - ../../xos_services:/opt/xos_services
Scott Bakerda3b1592016-10-24 10:45:36 -070053 - ../../xos_libraries:/opt/xos_libraries
Scott Baker50421662016-06-27 22:09:48 -070054 log_driver: "json-file"
55 log_opt:
56 max-size: "100k"
57 max-file: "5"