blob: dc2b2af9396a3018601fbc9715da7e01f69d794f [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
20
21xos_synchronizer_onboarding:
22 image: xosproject/xos-synchronizer-onboarding
23 command: bash -c "cd /opt/xos/synchronizers/onboarding; ./run.sh"
24# command: sleep 86400
25 labels:
26 org.xosproject.kind: synchronizer
27 org.xosproject.target: onboarding
28 links:
29 - xos_db
30 volumes:
31 - /var/run/docker.sock:/var/run/docker.sock
32 - ./key_import:/opt/xos/key_import:ro
33 - ./onboarding-docker-compose:/opt/xos/synchronizers/onboarding/docker-compose
34 - ../../xos_services:/opt/xos_services
35 log_driver: "json-file"
36 log_opt:
37 max-size: "100k"
38 max-file: "5"
39
40xos_synchronizer_openstack:
41 command: bash -c "sleep 120; python /opt/xos/synchronizers/openstack/xos-synchronizer.py"
42 image: xosproject/xos-synchronizer-openstack
43 labels:
44 org.xosproject.kind: synchronizer
45 org.xosproject.target: openstack
46 links:
47 - xos_db
48 extra_hosts:
49 - ctl:${MYIP}
50 volumes:
51 - ../common/xos_common_config:/opt/xos/xos_configuration/xos_common_config:ro
52 - ../setup:/root/setup:ro
53 - ./xos_cord_config:/opt/xos/xos_configuration/xos_cord_config:ro
54 - ./images:/opt/xos/images:ro
55 log_driver: "json-file"
56 log_opt:
57 max-size: "100k"
58 max-file: "5"