blob: c145a83effc41dc2bac8e01d8c9a69801fc7aba1 [file] [log] [blame]
Zack Williamsb74c9142016-12-14 17:07:12 -07001---
2version: '2'
3
4networks:
5 xos:
6 external: true
7
8services:
9 xos_db:
Scott Baker50421662016-06-27 22:09:48 -070010 image: xosproject/xos-postgres
Zack Williamsb74c9142016-12-14 17:07:12 -070011 networks:
12 - xos
Scott Baker50421662016-06-27 22:09:48 -070013 expose:
14 - "5432"
15
Zack Williamsb74c9142016-12-14 17:07:12 -070016 xos_redis:
Sapan Bhatia33d0add2016-08-31 18:31:55 +020017 image: redis
Zack Williamsb74c9142016-12-14 17:07:12 -070018 networks:
19 - xos
20 logging:
21 driver: "json-file"
22 options:
23 max-size: "1000k"
24 max-file: "5"
Sapan Bhatia33d0add2016-08-31 18:31:55 +020025
Zack Williamsb74c9142016-12-14 17:07:12 -070026 xos_synchronizer_onboarding:
Scott Bakerd25ae9f2016-10-20 15:43:33 -070027 image: xosproject/xos
Zack Williamsb74c9142016-12-14 17:07:12 -070028 networks:
29 - xos
Scott Baker50421662016-06-27 22:09:48 -070030 command: bash -c "cd /opt/xos/synchronizers/onboarding; ./run.sh"
31 #command: sleep 86400
32 labels:
33 org.xosproject.kind: synchronizer
34 org.xosproject.target: onboarding
35 links:
36 - xos_db
37 volumes:
38 - /var/run/docker.sock:/var/run/docker.sock
39 - ./key_import:/opt/xos/key_import:ro
40 - ./onboarding-docker-compose:/opt/xos/synchronizers/onboarding/docker-compose
41 - ../../xos_services:/opt/xos_services
Scott Bakerda3b1592016-10-24 10:45:36 -070042 - ../../xos_libraries:/opt/xos_libraries
Zack Williamsb74c9142016-12-14 17:07:12 -070043 logging:
44 driver: "json-file"
45 options:
46 max-size: "1000k"
47 max-file: "5"
Scott Baker50421662016-06-27 22:09:48 -070048
Zack Williamsb74c9142016-12-14 17:07:12 -070049 xos_bootstrap_ui:
Scott Baker50421662016-06-27 22:09:48 -070050 command: python /opt/xos/manage.py runserver 0.0.0.0:81 --insecure --makemigrations
51 environment:
52 - CONFIG_DIR
53 image: xosproject/xos
Zack Williamsb74c9142016-12-14 17:07:12 -070054 networks:
55 - xos
Scott Baker50421662016-06-27 22:09:48 -070056 links:
57 - xos_db
58 ports:
59 - "81:81"
60 volumes:
61 - ../common/xos_common_config:/opt/xos/xos_configuration/xos_common_config:ro
62 - ./xos_cord_config:/opt/xos/xos_configuration/xos_cord_config:ro
Scott Baker04402d12016-06-28 12:46:27 -070063 - ./files/xos_vtn_config:/opt/xos/xos_configuration/xos_vtn_config:ro
Scott Baker50421662016-06-27 22:09:48 -070064 - ../../xos_services:/opt/xos_services
Zack Williamscf1f9c82016-11-08 22:19:02 -070065 - ./admin-openrc.sh:/root/setup/admin-openrc.sh
Scott Bakerd0c49fd2016-12-13 11:48:59 -080066 - ../common/tosca/fixtures.yaml:/opt/xos/bootstrap_tosca/fixtures.yaml
67 - ./deployment.yaml:/opt/xos/bootstrap_tosca/deployment.yaml
Zack Williamsb74c9142016-12-14 17:07:12 -070068 logging:
69 driver: "json-file"
70 options:
71 max-size: "1000k"
72 max-file: "5"
73