blob: 4ce8359ff4ec7eb0365200560044871483f1f0f0 [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
JianHao2f6dca22016-12-22 03:44:52 +000016 xos_redis:
17 image: redis
18 networks:
19 - xos
20 logging:
21 driver: "json-file"
22 options:
23 max-size: "1000k"
24 max-file: "5"
25
Zack Williamsb74c9142016-12-14 17:07:12 -070026 xos_synchronizer_onboarding:
Scott Bakerd25ae9f2016-10-20 15:43:33 -070027 image: xosproject/xos
Zack Williamsb74c9142016-12-14 17:07:12 -070028 networks:
29 - xos
Pingping Linb7a7d2b2016-08-19 18:11:36 +000030 command: bash -c "cd /opt/xos/synchronizers/onboarding; ./run.sh"
31 #command: sleep 86400
32 labels:
33 org.xosproject.kind: synchronizer
34 org.xosproject.target: onboarding
35 links:
36 - xos_db
37 volumes:
38 - /var/run/docker.sock:/var/run/docker.sock
39 - ./key_import:/opt/xos/key_import:ro
40 - ./onboarding-docker-compose:/opt/xos/synchronizers/onboarding/docker-compose
41 - ../../xos_services:/opt/xos_services
Scott Bakerda3b1592016-10-24 10:45:36 -070042 - ../../xos_libraries:/opt/xos_libraries
Zack Williamsb74c9142016-12-14 17:07:12 -070043 logging:
44 driver: "json-file"
45 options:
46 max-size: "1000k"
47 max-file: "5"
Pingping Linb7a7d2b2016-08-19 18:11:36 +000048
49#xos_synchronizer_openstack:
50# command: bash -c "sleep 120; python /opt/xos/synchronizers/openstack/xos-synchronizer.py"
51# image: xosproject/xos-synchronizer-openstack
52# labels:
53# org.xosproject.kind: synchronizer
54# org.xosproject.target: openstack
55# links:
56# - xos_db
57# volumes:
58# - ../common/xos_common_config:/opt/xos/xos_configuration/xos_common_config:ro
59# - ./xos_cord_config:/opt/xos/xos_configuration/xos_cord_config:ro
60# - .:/root/setup:ro
61# - ./files/xos_vtn_config:/opt/xos/xos_configuration/xos_vtn_config:ro
62# - ./images:/opt/xos/images:ro
63# log_driver: "json-file"
64# log_opt:
65# max-size: "100k"
66# max-file: "5"
67
Zack Williamsb74c9142016-12-14 17:07:12 -070068 xos_bootstrap_ui:
Pingping Linb7a7d2b2016-08-19 18:11:36 +000069 command: python /opt/xos/manage.py runserver 0.0.0.0:81 --insecure --makemigrations
70 environment:
71 - CONFIG_DIR
72 image: xosproject/xos
Zack Williamsb74c9142016-12-14 17:07:12 -070073 networks:
74 - xos
Pingping Linb7a7d2b2016-08-19 18:11:36 +000075 links:
76 - xos_db
77 ports:
78 - "81:81"
79 volumes:
80 - ../common/xos_common_config:/opt/xos/xos_configuration/xos_common_config:ro
81 - ./xos_cord_config:/opt/xos/xos_configuration/xos_cord_config:ro
82 - ./files/xos_vtn_config:/opt/xos/xos_configuration/xos_vtn_config:ro
83 - ../../xos_services:/opt/xos_services
JianHao2f6dca22016-12-22 03:44:52 +000084 - ./admin-openrc.sh:/root/setup/admin-openrc.sh
Scott Bakerd0c49fd2016-12-13 11:48:59 -080085 - ../common/tosca/fixtures.yaml:/opt/xos/bootstrap_tosca/fixtures.yaml
86 - ./deployment.yaml:/opt/xos/bootstrap_tosca/deployment.yaml
Zack Williamsb74c9142016-12-14 17:07:12 -070087 logging:
88 driver: "json-file"
89 options:
90 max-size: "1000k"
91 max-file: "5"
92