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