blob: d9d7060ecc108320d6d5f59115b4e0b04f8239b6 [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
Matteo Scandoloa317b872017-01-10 12:02:41 -08008 command: python /opt/xos/manage.py runserver 0.0.0.0:9001 --insecure --makemigrations
Scott Baker8ed63bb2016-07-07 14:20:08 -07009 environment:
10 - CONFIG_DIR
11 ports:
Matteo Scandoloa317b872017-01-10 12:02:41 -080012 - "9001:9001"
Scott Baker8ed63bb2016-07-07 14:20:08 -070013 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
Scott Baker785f7112016-08-19 10:04:05 -070039#xos_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
47# extra_hosts:
48# - ctl:${MYIP}
49# 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"