blob: 26a41deec79d176698d5958be97eb20a85f489d9 [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
Scott Baker50421662016-06-27 22:09:48 -070019 - ../../xos_services:/opt/xos_services
Matteo Scandolo6fde7182016-07-13 12:03:00 -070020 - ../../xos/xos/api/utility:/opt/xos/api/utility
Matteo Scandolo4e3bc2a2016-07-22 11:19:19 -070021 - ../../xos/xos/core/models:/opt/xos/core/models
22 - ../../xos/xos/core/templatetags:/opt/xos/core/templatetags
Matteo Scandolo1aeb49f2016-07-20 15:36:22 -070023 - ../../xos/xos/xos:/opt/xos/xos
24 - ../../xos/xos/tosca:/opt/xos/tosca
25 - ../../xos/xos/synchronizers:/opt/xos/synchronizers
Scott Baker50421662016-06-27 22:09:48 -070026
27xos_synchronizer_onboarding:
28 image: xosproject/xos-synchronizer-onboarding
29 command: bash -c "cd /opt/xos/synchronizers/onboarding; ./run.sh"
Scott Baker50421662016-06-27 22:09:48 -070030 labels:
31 org.xosproject.kind: synchronizer
32 org.xosproject.target: onboarding
33 links:
34 - xos_db
35 volumes:
36 - /var/run/docker.sock:/var/run/docker.sock
37 - ./key_import:/opt/xos/key_import:ro
38 - ./onboarding-docker-compose:/opt/xos/synchronizers/onboarding/docker-compose
39 - ../../xos_services:/opt/xos_services
40 log_driver: "json-file"
41 log_opt:
42 max-size: "100k"
43 max-file: "5"