blob: f0d87ca47cb98e3f488c7c38f00b9d8da56b1629 [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
Scott Bakerda3b1592016-10-24 10:45:36 -070023 - ../../xos_libraries:/opt/xos_libraries
Scott Baker50421662016-06-27 22:09:48 -070024 log_driver: "json-file"
25 log_opt:
26 max-size: "100k"
27 max-file: "5"
28
Scott Baker989959c2016-08-11 19:22:52 -070029#xos_synchronizer_openstack:
30# command: bash -c "sleep 120; python /opt/xos/synchronizers/openstack/xos-synchronizer.py"
31# image: xosproject/xos-synchronizer-openstack
32# labels:
33# org.xosproject.kind: synchronizer
34# org.xosproject.target: openstack
35# links:
36# - xos_db
37# volumes:
38# - ../common/xos_common_config:/opt/xos/xos_configuration/xos_common_config:ro
39# - ./xos_cord_config:/opt/xos/xos_configuration/xos_cord_config:ro
40# - .:/root/setup:ro
41# - ./files/xos_vtn_config:/opt/xos/xos_configuration/xos_vtn_config:ro
42# - ./images:/opt/xos/images:ro
43# log_driver: "json-file"
44# log_opt:
45# max-size: "100k"
46# max-file: "5"
Scott Baker50421662016-06-27 22:09:48 -070047
48xos_bootstrap_ui:
49 command: python /opt/xos/manage.py runserver 0.0.0.0:81 --insecure --makemigrations
50 environment:
51 - CONFIG_DIR
52 image: xosproject/xos
53 links:
54 - xos_db
55 ports:
56 - "81:81"
57 volumes:
58 - ../common/xos_common_config:/opt/xos/xos_configuration/xos_common_config:ro
59 - ./xos_cord_config:/opt/xos/xos_configuration/xos_cord_config:ro
Scott Baker04402d12016-06-28 12:46:27 -070060 - ./files/xos_vtn_config:/opt/xos/xos_configuration/xos_vtn_config:ro
Scott Baker50421662016-06-27 22:09:48 -070061 - ../../xos_services:/opt/xos_services
62 log_driver: "json-file"
63 log_opt:
64 max-size: "100k"
65 max-file: "5"