blob: a3522c904d57abc6a83163458b01869e4c79d0a8 [file] [log] [blame]
Scott Bakerf93a06c2016-07-11 17:04:49 -07001xos_db:
2 image: xosproject/xos-postgres
3 expose:
4 - "5432"
5
6xos_synchronizer_onboarding:
7 image: xosproject/xos-synchronizer-onboarding
8 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
20 log_driver: "json-file"
21 log_opt:
22 max-size: "100k"
23 max-file: "5"
24
25xos_synchronizer_openstack:
26 command: bash -c "sleep 120; python /opt/xos/synchronizers/openstack/xos-synchronizer.py"
27 image: xosproject/xos-synchronizer-openstack
28 labels:
29 org.xosproject.kind: synchronizer
30 org.xosproject.target: openstack
31 links:
32 - xos_db
33 volumes:
34 - ../common/xos_common_config:/opt/xos/xos_configuration/xos_common_config:ro
35 - ./xos_cord_config:/opt/xos/xos_configuration/xos_cord_config:ro
36 - .:/root/setup:ro
37 - ./files/xos_vtn_config:/opt/xos/xos_configuration/xos_vtn_config:ro
38 - ./images:/opt/xos/images:ro
39 log_driver: "json-file"
40 log_opt:
41 max-size: "100k"
42 max-file: "5"
43
44xos_bootstrap_ui:
45 command: python /opt/xos/manage.py runserver 0.0.0.0:81 --insecure --makemigrations
46 environment:
47 - CONFIG_DIR
48 image: xosproject/xos
49 links:
50 - xos_db
51 ports:
52 - "81:81"
53 volumes:
54 - ../common/xos_common_config:/opt/xos/xos_configuration/xos_common_config:ro
55 - ./xos_cord_config:/opt/xos/xos_configuration/xos_cord_config:ro
56 - ./files/xos_vtn_config:/opt/xos/xos_configuration/xos_vtn_config:ro
57 - ../../xos_services:/opt/xos_services
58 log_driver: "json-file"
59 log_opt:
60 max-size: "100k"
61 max-file: "5"