blob: 2852b4d8f1dbfd71a2648c21a4be5c1096a7d271 [file] [log] [blame]
Zack Williamsb74c9142016-12-14 17:07:12 -07001---
2version: '2'
3
4networks:
5 xos:
6 external: true
7
8services:
9 xos_db:
Pingping Linb7a7d2b2016-08-19 18:11:36 +000010 image: xosproject/xos-postgres
Zack Williamsb74c9142016-12-14 17:07:12 -070011 networks:
12 - xos
Pingping Linb7a7d2b2016-08-19 18:11:36 +000013 expose:
14 - "5432"
15
Zack Williamsb74c9142016-12-14 17:07:12 -070016 xos_synchronizer_onboarding:
Scott Bakerd25ae9f2016-10-20 15:43:33 -070017 image: xosproject/xos
Zack Williamsb74c9142016-12-14 17:07:12 -070018 networks:
19 - xos
Pingping Linb7a7d2b2016-08-19 18:11:36 +000020 command: bash -c "cd /opt/xos/synchronizers/onboarding; ./run.sh"
21 #command: sleep 86400
22 labels:
23 org.xosproject.kind: synchronizer
24 org.xosproject.target: onboarding
25 links:
26 - xos_db
27 volumes:
28 - /var/run/docker.sock:/var/run/docker.sock
29 - ./key_import:/opt/xos/key_import:ro
30 - ./onboarding-docker-compose:/opt/xos/synchronizers/onboarding/docker-compose
31 - ../../xos_services:/opt/xos_services
Scott Bakerda3b1592016-10-24 10:45:36 -070032 - ../../xos_libraries:/opt/xos_libraries
Zack Williamsb74c9142016-12-14 17:07:12 -070033 logging:
34 driver: "json-file"
35 options:
36 max-size: "1000k"
37 max-file: "5"
Pingping Linb7a7d2b2016-08-19 18:11:36 +000038
39#xos_synchronizer_openstack:
40# command: bash -c "sleep 120; python /opt/xos/synchronizers/openstack/xos-synchronizer.py"
41# image: xosproject/xos-synchronizer-openstack
42# labels:
43# org.xosproject.kind: synchronizer
44# org.xosproject.target: openstack
45# links:
46# - xos_db
47# volumes:
48# - ../common/xos_common_config:/opt/xos/xos_configuration/xos_common_config:ro
49# - ./xos_cord_config:/opt/xos/xos_configuration/xos_cord_config:ro
50# - .:/root/setup:ro
51# - ./files/xos_vtn_config:/opt/xos/xos_configuration/xos_vtn_config:ro
52# - ./images:/opt/xos/images:ro
53# log_driver: "json-file"
54# log_opt:
55# max-size: "100k"
56# max-file: "5"
57
Zack Williamsb74c9142016-12-14 17:07:12 -070058 xos_bootstrap_ui:
Pingping Linb7a7d2b2016-08-19 18:11:36 +000059 command: python /opt/xos/manage.py runserver 0.0.0.0:81 --insecure --makemigrations
60 environment:
61 - CONFIG_DIR
62 image: xosproject/xos
Zack Williamsb74c9142016-12-14 17:07:12 -070063 networks:
64 - xos
Pingping Linb7a7d2b2016-08-19 18:11:36 +000065 links:
66 - xos_db
67 ports:
68 - "81:81"
69 volumes:
70 - ../common/xos_common_config:/opt/xos/xos_configuration/xos_common_config:ro
71 - ./xos_cord_config:/opt/xos/xos_configuration/xos_cord_config:ro
72 - ./files/xos_vtn_config:/opt/xos/xos_configuration/xos_vtn_config:ro
73 - ../../xos_services:/opt/xos_services
Scott Bakerd0c49fd2016-12-13 11:48:59 -080074 - ../common/tosca/fixtures.yaml:/opt/xos/bootstrap_tosca/fixtures.yaml
75 - ./deployment.yaml:/opt/xos/bootstrap_tosca/deployment.yaml
Zack Williamsb74c9142016-12-14 17:07:12 -070076 logging:
77 driver: "json-file"
78 options:
79 max-size: "1000k"
80 max-file: "5"
81