blob: 6325c4b8c4a169d95a90838bfa294e798daac0af [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
Zack Williamscf1f9c82016-11-08 22:19:02 -07008 log_driver: "json-file"
9 log_opt:
10 max-size: "1000k"
11 max-file: "5"
Sapan Bhatia33d0add2016-08-31 18:31:55 +020012
Scott Baker50421662016-06-27 22:09:48 -070013xos_synchronizer_onboarding:
Scott Bakerd25ae9f2016-10-20 15:43:33 -070014 image: xosproject/xos
Scott Baker50421662016-06-27 22:09:48 -070015 command: bash -c "cd /opt/xos/synchronizers/onboarding; ./run.sh"
16 #command: sleep 86400
17 labels:
18 org.xosproject.kind: synchronizer
19 org.xosproject.target: onboarding
20 links:
21 - xos_db
22 volumes:
23 - /var/run/docker.sock:/var/run/docker.sock
24 - ./key_import:/opt/xos/key_import:ro
25 - ./onboarding-docker-compose:/opt/xos/synchronizers/onboarding/docker-compose
26 - ../../xos_services:/opt/xos_services
Scott Bakerda3b1592016-10-24 10:45:36 -070027 - ../../xos_libraries:/opt/xos_libraries
Scott Baker50421662016-06-27 22:09:48 -070028 log_driver: "json-file"
29 log_opt:
Zack Williamscf1f9c82016-11-08 22:19:02 -070030 max-size: "1000k"
Scott Baker50421662016-06-27 22:09:48 -070031 max-file: "5"
32
Scott Baker50421662016-06-27 22:09:48 -070033xos_bootstrap_ui:
34 command: python /opt/xos/manage.py runserver 0.0.0.0:81 --insecure --makemigrations
35 environment:
36 - CONFIG_DIR
37 image: xosproject/xos
38 links:
39 - xos_db
40 ports:
41 - "81:81"
42 volumes:
43 - ../common/xos_common_config:/opt/xos/xos_configuration/xos_common_config:ro
44 - ./xos_cord_config:/opt/xos/xos_configuration/xos_cord_config:ro
Scott Baker04402d12016-06-28 12:46:27 -070045 - ./files/xos_vtn_config:/opt/xos/xos_configuration/xos_vtn_config:ro
Scott Baker50421662016-06-27 22:09:48 -070046 - ../../xos_services:/opt/xos_services
Zack Williamscf1f9c82016-11-08 22:19:02 -070047 - ./admin-openrc.sh:/root/setup/admin-openrc.sh
Scott Bakerd0c49fd2016-12-13 11:48:59 -080048 - ../common/tosca/fixtures.yaml:/opt/xos/bootstrap_tosca/fixtures.yaml
49 - ./deployment.yaml:/opt/xos/bootstrap_tosca/deployment.yaml
Scott Baker50421662016-06-27 22:09:48 -070050 log_driver: "json-file"
51 log_opt:
Zack Williamscf1f9c82016-11-08 22:19:02 -070052 max-size: "1000k"
Scott Baker50421662016-06-27 22:09:48 -070053 max-file: "5"