blob: 8e11b73289b88c9424d24ad08014158c65596f6f [file] [log] [blame]
Srikanth Vavilapallif95cd5b2016-07-10 19:08:04 +00001xos_db:
2 image: xosproject/xos-postgres
3 expose:
4 - "5432"
5
6xos_bootstrap_ui:
7 image: xosproject/xos
8 command: python /opt/xos/manage.py runserver 0.0.0.0:9998 --insecure --makemigrations
9 environment:
10 - CONFIG_DIR
11 ports:
12 - "9998:9998"
13 links:
14 - xos_db
15 volumes:
16 - ../setup:/root/setup:ro
17 - ../common/xos_common_config:/opt/xos/xos_configuration/xos_common_config
18 - ./xos_cord_config:/opt/xos/xos_configuration/xos_cord_config:ro
19 - ../../xos_services:/opt/xos_services
Scott Bakerda3b1592016-10-24 10:45:36 -070020 - ../../xos_libraries:/opt/xos_libraries
Srikanth Vavilapallif95cd5b2016-07-10 19:08:04 +000021
22xos_synchronizer_onboarding:
Scott Bakerd25ae9f2016-10-20 15:43:33 -070023 image: xosproject/xos
Srikanth Vavilapallif95cd5b2016-07-10 19:08:04 +000024 command: bash -c "cd /opt/xos/synchronizers/onboarding; ./run.sh"
25# command: sleep 86400
26 labels:
27 org.xosproject.kind: synchronizer
28 org.xosproject.target: onboarding
29 links:
30 - xos_db
31 volumes:
32 - /var/run/docker.sock:/var/run/docker.sock
33 - ./key_import:/opt/xos/key_import:ro
34 - ./onboarding-docker-compose:/opt/xos/synchronizers/onboarding/docker-compose
35 - ../../xos_services:/opt/xos_services
36 log_driver: "json-file"
37 log_opt:
38 max-size: "100k"
39 max-file: "5"
40
41xos_synchronizer_openstack:
42 command: bash -c "sleep 120; python /opt/xos/synchronizers/openstack/xos-synchronizer.py"
43 image: xosproject/xos-synchronizer-openstack
44 labels:
45 org.xosproject.kind: synchronizer
46 org.xosproject.target: openstack
47 links:
48 - xos_db
49 extra_hosts:
50 - ctl:${MYIP}
51 volumes:
52 - ../common/xos_common_config:/opt/xos/xos_configuration/xos_common_config:ro
53 - ../setup:/root/setup:ro
54 - ./xos_cord_config:/opt/xos/xos_configuration/xos_cord_config:ro
55 - ./images:/opt/xos/images:ro
56 log_driver: "json-file"
57 log_opt:
58 max-size: "100k"
59 max-file: "5"