blob: 589fa4d14cb2586155b47ba1612aaf1f67558805 [file] [log] [blame]
Zack Williamsb74c9142016-12-14 17:07:12 -07001---
2version: '2'
Srikanth Vavilapallif95cd5b2016-07-10 19:08:04 +00003
Zack Williamsb74c9142016-12-14 17:07:12 -07004networks:
5 xos:
6 external: true
7
8services:
9
10 xos_db:
11 image: xosproject/xos-postgres
12 networks:
13 - xos
14 expose:
15 - "5432"
16
17 xos_bootstrap_ui:
Srikanth Vavilapallif95cd5b2016-07-10 19:08:04 +000018 image: xosproject/xos
Zack Williamsb74c9142016-12-14 17:07:12 -070019 networks:
20 - xos
Matteo Scandoloa317b872017-01-10 12:02:41 -080021 command: python /opt/xos/manage.py runserver 0.0.0.0:9001 --insecure --makemigrations
Srikanth Vavilapallif95cd5b2016-07-10 19:08:04 +000022 environment:
23 - CONFIG_DIR
24 ports:
Matteo Scandoloa317b872017-01-10 12:02:41 -080025 - "9001:9001"
Srikanth Vavilapallif95cd5b2016-07-10 19:08:04 +000026 links:
27 - xos_db
28 volumes:
29 - ../setup:/root/setup:ro
30 - ../common/xos_common_config:/opt/xos/xos_configuration/xos_common_config
31 - ./xos_cord_config:/opt/xos/xos_configuration/xos_cord_config:ro
32 - ../../xos_services:/opt/xos_services
Scott Bakerda3b1592016-10-24 10:45:36 -070033 - ../../xos_libraries:/opt/xos_libraries
Srikanth Vavilapallif95cd5b2016-07-10 19:08:04 +000034
Zack Williamsb74c9142016-12-14 17:07:12 -070035 xos_synchronizer_onboarding:
Scott Bakerd25ae9f2016-10-20 15:43:33 -070036 image: xosproject/xos
Zack Williamsb74c9142016-12-14 17:07:12 -070037 networks:
38 - xos
Srikanth Vavilapallif95cd5b2016-07-10 19:08:04 +000039 command: bash -c "cd /opt/xos/synchronizers/onboarding; ./run.sh"
40# command: sleep 86400
41 labels:
42 org.xosproject.kind: synchronizer
43 org.xosproject.target: onboarding
44 links:
45 - xos_db
46 volumes:
47 - /var/run/docker.sock:/var/run/docker.sock
48 - ./key_import:/opt/xos/key_import:ro
49 - ./onboarding-docker-compose:/opt/xos/synchronizers/onboarding/docker-compose
50 - ../../xos_services:/opt/xos_services
Zack Williamsb74c9142016-12-14 17:07:12 -070051 logging:
52 driver: "json-file"
53 options:
54 max-size: "1000k"
55 max-file: "5"
Srikanth Vavilapallif95cd5b2016-07-10 19:08:04 +000056
Zack Williamsb74c9142016-12-14 17:07:12 -070057 xos_synchronizer_openstack:
Srikanth Vavilapallif95cd5b2016-07-10 19:08:04 +000058 command: bash -c "sleep 120; python /opt/xos/synchronizers/openstack/xos-synchronizer.py"
59 image: xosproject/xos-synchronizer-openstack
Zack Williamsb74c9142016-12-14 17:07:12 -070060 networks:
61 - xos
Srikanth Vavilapallif95cd5b2016-07-10 19:08:04 +000062 labels:
63 org.xosproject.kind: synchronizer
64 org.xosproject.target: openstack
65 links:
66 - xos_db
67 extra_hosts:
68 - ctl:${MYIP}
69 volumes:
70 - ../common/xos_common_config:/opt/xos/xos_configuration/xos_common_config:ro
71 - ../setup:/root/setup:ro
72 - ./xos_cord_config:/opt/xos/xos_configuration/xos_cord_config:ro
73 - ./images:/opt/xos/images:ro
Zack Williamsb74c9142016-12-14 17:07:12 -070074 logging:
75 driver: "json-file"
76 options:
77 max-size: "1000k"
78 max-file: "5"