blob: f0123daad951bc53303a76e4d944870e2fd0fab6 [file] [log] [blame]
Scott Baker8ed63bb2016-07-07 14:20:08 -07001xos_db:
2 image: xosproject/xos-postgres
3 expose:
4 - "5432"
5
6xos_bootstrap_ui:
7 image: xosproject/xos
8 command: python /opt/xos/manage.py runserver 0.0.0.0:9998 --insecure --makemigrations
9 environment:
10 - CONFIG_DIR
11 ports:
12 - "9998:9998"
13 links:
14 - xos_db
15 volumes:
16 - ../setup:/root/setup:ro
17 - ../common/xos_common_config:/opt/xos/xos_configuration/xos_common_config
18 - ../../xos_services:/opt/xos_services
19
20xos_synchronizer_onboarding:
21 image: xosproject/xos-synchronizer-onboarding
22 command: bash -c "cd /opt/xos/synchronizers/onboarding; ./run.sh"
23# command: sleep 86400
24 labels:
25 org.xosproject.kind: synchronizer
26 org.xosproject.target: onboarding
27 links:
28 - xos_db
29 volumes:
30 - /var/run/docker.sock:/var/run/docker.sock
31 - ./key_import:/opt/xos/key_import:ro
32 - ./onboarding-docker-compose:/opt/xos/synchronizers/onboarding/docker-compose
33 - ../../xos_services:/opt/xos_services
34 log_driver: "json-file"
35 log_opt:
36 max-size: "100k"
37 max-file: "5"
38
39xos_synchronizer_openstack:
40 command: bash -c "sleep 120; python /opt/xos/synchronizers/openstack/xos-synchronizer.py"
41 image: xosproject/xos-synchronizer-openstack
42 labels:
43 org.xosproject.kind: synchronizer
44 org.xosproject.target: openstack
45 links:
46 - xos_db
Scott Baker6f0f4ae2016-07-07 16:39:15 -070047 extra_hosts:
48 - ctl:${MYIP}
Scott Baker8ed63bb2016-07-07 14:20:08 -070049 volumes:
50 - ../common/xos_common_config:/opt/xos/xos_configuration/xos_common_config:ro
51 - ../setup:/root/setup:ro
52 - ./images:/opt/xos/images:ro
53 log_driver: "json-file"
54 log_opt:
55 max-size: "100k"
56 max-file: "5"