blob: fa0749cea5e5ea117641be3c7a47475d54550824 [file] [log] [blame]
Scott Baker50421662016-06-27 22:09:48 -07001xos_db:
2 image: xosproject/xos-postgres
3 expose:
4 - "5432"
5
Sapan Bhatia33d0add2016-08-31 18:31:55 +02006xos_redis:
7 image: redis
8
Scott Baker50421662016-06-27 22:09:48 -07009xos_synchronizer_onboarding:
Scott Bakerd25ae9f2016-10-20 15:43:33 -070010 image: xosproject/xos
Scott Baker50421662016-06-27 22:09:48 -070011 command: bash -c "cd /opt/xos/synchronizers/onboarding; ./run.sh"
12 #command: sleep 86400
13 labels:
14 org.xosproject.kind: synchronizer
15 org.xosproject.target: onboarding
16 links:
17 - xos_db
18 volumes:
19 - /var/run/docker.sock:/var/run/docker.sock
20 - ./key_import:/opt/xos/key_import:ro
21 - ./onboarding-docker-compose:/opt/xos/synchronizers/onboarding/docker-compose
22 - ../../xos_services:/opt/xos_services
23 log_driver: "json-file"
24 log_opt:
25 max-size: "100k"
26 max-file: "5"
27
Scott Baker989959c2016-08-11 19:22:52 -070028#xos_synchronizer_openstack:
29# command: bash -c "sleep 120; python /opt/xos/synchronizers/openstack/xos-synchronizer.py"
30# image: xosproject/xos-synchronizer-openstack
31# labels:
32# org.xosproject.kind: synchronizer
33# org.xosproject.target: openstack
34# links:
35# - xos_db
36# volumes:
37# - ../common/xos_common_config:/opt/xos/xos_configuration/xos_common_config:ro
38# - ./xos_cord_config:/opt/xos/xos_configuration/xos_cord_config:ro
39# - .:/root/setup:ro
40# - ./files/xos_vtn_config:/opt/xos/xos_configuration/xos_vtn_config:ro
41# - ./images:/opt/xos/images:ro
42# log_driver: "json-file"
43# log_opt:
44# max-size: "100k"
45# max-file: "5"
Scott Baker50421662016-06-27 22:09:48 -070046
47xos_bootstrap_ui:
48 command: python /opt/xos/manage.py runserver 0.0.0.0:81 --insecure --makemigrations
49 environment:
50 - CONFIG_DIR
51 image: xosproject/xos
52 links:
53 - xos_db
54 ports:
55 - "81:81"
56 volumes:
57 - ../common/xos_common_config:/opt/xos/xos_configuration/xos_common_config:ro
58 - ./xos_cord_config:/opt/xos/xos_configuration/xos_cord_config:ro
Scott Baker04402d12016-06-28 12:46:27 -070059 - ./files/xos_vtn_config:/opt/xos/xos_configuration/xos_vtn_config:ro
Scott Baker50421662016-06-27 22:09:48 -070060 - ../../xos_services:/opt/xos_services
61 log_driver: "json-file"
62 log_opt:
63 max-size: "100k"
64 max-file: "5"