Zack Williams | 3670f44 | 2016-10-04 17:37:12 -0700 | [diff] [blame] | 1 | xos_db: |
| 2 | image: xosproject/xos-postgres |
| 3 | expose: |
| 4 | - "5432" |
| 5 | |
| 6 | xos_redis: |
| 7 | image: redis |
| 8 | log_driver: "json-file" |
| 9 | log_opt: |
Zack Williams | cf1f9c8 | 2016-11-08 22:19:02 -0700 | [diff] [blame] | 10 | max-size: "1000k" |
Zack Williams | 3670f44 | 2016-10-04 17:37:12 -0700 | [diff] [blame] | 11 | max-file: "5" |
| 12 | |
| 13 | xos_synchronizer_onboarding: |
Scott Baker | d25ae9f | 2016-10-20 15:43:33 -0700 | [diff] [blame] | 14 | image: xosproject/xos |
Zack Williams | 3670f44 | 2016-10-04 17:37:12 -0700 | [diff] [blame] | 15 | 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 |
Zack Williams | cf1f9c8 | 2016-11-08 22:19:02 -0700 | [diff] [blame] | 27 | - ../../xos_libraries:/opt/xos_libraries |
Zack Williams | 3670f44 | 2016-10-04 17:37:12 -0700 | [diff] [blame] | 28 | log_driver: "json-file" |
| 29 | log_opt: |
Zack Williams | cf1f9c8 | 2016-11-08 22:19:02 -0700 | [diff] [blame] | 30 | max-size: "1000k" |
Zack Williams | 3670f44 | 2016-10-04 17:37:12 -0700 | [diff] [blame] | 31 | max-file: "5" |
| 32 | |
| 33 | xos_bootstrap_ui: |
Matteo Scandolo | a317b87 | 2017-01-10 12:02:41 -0800 | [diff] [blame] | 34 | command: python /opt/xos/manage.py runserver 0.0.0.0:9001 --insecure --makemigrations |
Zack Williams | 3670f44 | 2016-10-04 17:37:12 -0700 | [diff] [blame] | 35 | environment: |
| 36 | - CONFIG_DIR |
| 37 | image: xosproject/xos |
| 38 | links: |
| 39 | - xos_db |
| 40 | ports: |
Matteo Scandolo | a317b87 | 2017-01-10 12:02:41 -0800 | [diff] [blame] | 41 | - "9001:9001" |
Zack Williams | 3670f44 | 2016-10-04 17:37:12 -0700 | [diff] [blame] | 42 | volumes: |
| 43 | - ../common/xos_common_config:/opt/xos/xos_configuration/xos_common_config:ro |
| 44 | - ./files/xos_vtn_config:/opt/xos/xos_configuration/xos_vtn_config:ro |
| 45 | - ../../xos_services:/opt/xos_services |
Zack Williams | c1b451f | 2016-11-03 09:51:41 -0700 | [diff] [blame] | 46 | - ./admin-openrc.sh:/root/setup/admin-openrc.sh |
Zack Williams | 3670f44 | 2016-10-04 17:37:12 -0700 | [diff] [blame] | 47 | log_driver: "json-file" |
| 48 | log_opt: |
Zack Williams | cf1f9c8 | 2016-11-08 22:19:02 -0700 | [diff] [blame] | 49 | max-size: "1000k" |
Zack Williams | 3670f44 | 2016-10-04 17:37:12 -0700 | [diff] [blame] | 50 | max-file: "5" |