Scott Baker | 5042166 | 2016-06-27 22:09:48 -0700 | [diff] [blame] | 1 | xos_db: |
| 2 | image: xosproject/xos-postgres |
| 3 | expose: |
| 4 | - "5432" |
| 5 | |
Sapan Bhatia | 33d0add | 2016-08-31 18:31:55 +0200 | [diff] [blame] | 6 | xos_redis: |
| 7 | image: redis |
Zack Williams | cf1f9c8 | 2016-11-08 22:19:02 -0700 | [diff] [blame^] | 8 | log_driver: "json-file" |
| 9 | log_opt: |
| 10 | max-size: "1000k" |
| 11 | max-file: "5" |
Sapan Bhatia | 33d0add | 2016-08-31 18:31:55 +0200 | [diff] [blame] | 12 | |
Scott Baker | 5042166 | 2016-06-27 22:09:48 -0700 | [diff] [blame] | 13 | xos_synchronizer_onboarding: |
Scott Baker | d25ae9f | 2016-10-20 15:43:33 -0700 | [diff] [blame] | 14 | image: xosproject/xos |
Scott Baker | 5042166 | 2016-06-27 22:09:48 -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 |
Scott Baker | da3b159 | 2016-10-24 10:45:36 -0700 | [diff] [blame] | 27 | - ../../xos_libraries:/opt/xos_libraries |
Scott Baker | 5042166 | 2016-06-27 22:09:48 -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" |
Scott Baker | 5042166 | 2016-06-27 22:09:48 -0700 | [diff] [blame] | 31 | max-file: "5" |
| 32 | |
Scott Baker | 5042166 | 2016-06-27 22:09:48 -0700 | [diff] [blame] | 33 | xos_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 Baker | 04402d1 | 2016-06-28 12:46:27 -0700 | [diff] [blame] | 45 | - ./files/xos_vtn_config:/opt/xos/xos_configuration/xos_vtn_config:ro |
Scott Baker | 5042166 | 2016-06-27 22:09:48 -0700 | [diff] [blame] | 46 | - ../../xos_services:/opt/xos_services |
Zack Williams | cf1f9c8 | 2016-11-08 22:19:02 -0700 | [diff] [blame^] | 47 | - ./admin-openrc.sh:/root/setup/admin-openrc.sh |
Scott Baker | 5042166 | 2016-06-27 22:09:48 -0700 | [diff] [blame] | 48 | log_driver: "json-file" |
| 49 | log_opt: |
Zack Williams | cf1f9c8 | 2016-11-08 22:19:02 -0700 | [diff] [blame^] | 50 | max-size: "1000k" |
Scott Baker | 5042166 | 2016-06-27 22:09:48 -0700 | [diff] [blame] | 51 | max-file: "5" |