blob: 7701458efedc0b930424184484b4c68d89b34c99 [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
Matteo Scandolo82d64ac2017-01-13 09:49:35 -080020 ports:
21 - "6379:6379"
JianHao2f6dca22016-12-22 03:44:52 +000022 logging:
23 driver: "json-file"
24 options:
25 max-size: "1000k"
26 max-file: "5"
27
Zack Williamsb74c9142016-12-14 17:07:12 -070028 xos_synchronizer_onboarding:
Scott Bakerd25ae9f2016-10-20 15:43:33 -070029 image: xosproject/xos
Zack Williamsb74c9142016-12-14 17:07:12 -070030 networks:
31 - xos
Pingping Linb7a7d2b2016-08-19 18:11:36 +000032 command: bash -c "cd /opt/xos/synchronizers/onboarding; ./run.sh"
33 #command: sleep 86400
34 labels:
35 org.xosproject.kind: synchronizer
36 org.xosproject.target: onboarding
37 links:
38 - xos_db
39 volumes:
40 - /var/run/docker.sock:/var/run/docker.sock
41 - ./key_import:/opt/xos/key_import:ro
42 - ./onboarding-docker-compose:/opt/xos/synchronizers/onboarding/docker-compose
43 - ../../xos_services:/opt/xos_services
Scott Bakerda3b1592016-10-24 10:45:36 -070044 - ../../xos_libraries:/opt/xos_libraries
Zack Williamsb74c9142016-12-14 17:07:12 -070045 logging:
46 driver: "json-file"
47 options:
48 max-size: "1000k"
49 max-file: "5"
Pingping Linb7a7d2b2016-08-19 18:11:36 +000050
51#xos_synchronizer_openstack:
52# command: bash -c "sleep 120; python /opt/xos/synchronizers/openstack/xos-synchronizer.py"
53# image: xosproject/xos-synchronizer-openstack
54# labels:
55# org.xosproject.kind: synchronizer
56# org.xosproject.target: openstack
57# links:
58# - xos_db
59# volumes:
60# - ../common/xos_common_config:/opt/xos/xos_configuration/xos_common_config:ro
61# - ./xos_cord_config:/opt/xos/xos_configuration/xos_cord_config:ro
62# - .:/root/setup:ro
63# - ./files/xos_vtn_config:/opt/xos/xos_configuration/xos_vtn_config:ro
64# - ./images:/opt/xos/images:ro
65# log_driver: "json-file"
66# log_opt:
67# max-size: "100k"
68# max-file: "5"
69
Zack Williamsb74c9142016-12-14 17:07:12 -070070 xos_bootstrap_ui:
Matteo Scandoloa317b872017-01-10 12:02:41 -080071 command: python /opt/xos/manage.py runserver 0.0.0.0:9001 --insecure --makemigrations
Pingping Linb7a7d2b2016-08-19 18:11:36 +000072 environment:
73 - CONFIG_DIR
74 image: xosproject/xos
Zack Williamsb74c9142016-12-14 17:07:12 -070075 networks:
76 - xos
Pingping Linb7a7d2b2016-08-19 18:11:36 +000077 links:
78 - xos_db
79 ports:
Matteo Scandoloa317b872017-01-10 12:02:41 -080080 - "9001:9001"
Pingping Linb7a7d2b2016-08-19 18:11:36 +000081 volumes:
82 - ../common/xos_common_config:/opt/xos/xos_configuration/xos_common_config:ro
83 - ./xos_cord_config:/opt/xos/xos_configuration/xos_cord_config:ro
84 - ./files/xos_vtn_config:/opt/xos/xos_configuration/xos_vtn_config:ro
85 - ../../xos_services:/opt/xos_services
JianHao2f6dca22016-12-22 03:44:52 +000086 - ./admin-openrc.sh:/root/setup/admin-openrc.sh
Scott Bakerd0c49fd2016-12-13 11:48:59 -080087 - ../common/tosca/fixtures.yaml:/opt/xos/bootstrap_tosca/fixtures.yaml
88 - ./deployment.yaml:/opt/xos/bootstrap_tosca/deployment.yaml
Zack Williamsb74c9142016-12-14 17:07:12 -070089 logging:
90 driver: "json-file"
91 options:
92 max-size: "1000k"
93 max-file: "5"
94