Scott Baker | 5042166 | 2016-06-27 22:09:48 -0700 | [diff] [blame] | 1 | xos_db: |
| 2 | image: xosproject/xos-postgres |
| 3 | expose: |
| 4 | - "5432" |
Matteo Scandolo | 76d7bcd | 2016-11-30 17:08:17 -0800 | [diff] [blame^] | 5 | ports: |
| 6 | - "5432:5432" |
Scott Baker | 5042166 | 2016-06-27 22:09:48 -0700 | [diff] [blame] | 7 | |
Matteo Scandolo | d23b7bd | 2016-11-18 15:52:45 -0800 | [diff] [blame] | 8 | xos_redis: |
| 9 | image: redis |
| 10 | ports: |
| 11 | - "6379:6379" |
| 12 | |
Scott Baker | 5042166 | 2016-06-27 22:09:48 -0700 | [diff] [blame] | 13 | xos_bootstrap_ui: |
| 14 | image: xosproject/xos |
Matteo Scandolo | 6fde718 | 2016-07-13 12:03:00 -0700 | [diff] [blame] | 15 | # command: sleep 86400 |
Scott Baker | 5042166 | 2016-06-27 22:09:48 -0700 | [diff] [blame] | 16 | command: python /opt/xos/manage.py runserver 0.0.0.0:9998 --insecure --makemigrations |
| 17 | environment: |
| 18 | - CONFIG_DIR |
| 19 | ports: |
| 20 | - "9998:9998" |
| 21 | links: |
| 22 | - xos_db |
Matteo Scandolo | d23b7bd | 2016-11-18 15:52:45 -0800 | [diff] [blame] | 23 | - xos_redis:redis |
Scott Baker | 5042166 | 2016-06-27 22:09:48 -0700 | [diff] [blame] | 24 | volumes: |
| 25 | - ../common/xos_common_config:/opt/xos/xos_configuration/xos_common_config |
Scott Baker | 7ab0221 | 2016-06-29 14:12:15 -0700 | [diff] [blame] | 26 | - ../cord-pod/files/xos_vtn_config:/opt/xos/xos_configuration/xos_vtn_config:ro |
Matteo Scandolo | 6fde718 | 2016-07-13 12:03:00 -0700 | [diff] [blame] | 27 | - ../../xos/xos/api/utility:/opt/xos/api/utility |
Matteo Scandolo | 6b3ee5d | 2016-08-05 10:49:09 -0700 | [diff] [blame] | 28 | - ../../xos/xos/templates:/opt/xos/templates |
Matteo Scandolo | 4e3bc2a | 2016-07-22 11:19:19 -0700 | [diff] [blame] | 29 | - ../../xos/xos/core/templatetags:/opt/xos/core/templatetags |
Matteo Scandolo | fade3ec | 2016-08-02 10:17:53 -0700 | [diff] [blame] | 30 | - ../../xos/xos/core/xoslib/dashboards:/opt/xos/core/xoslib/dashboards |
| 31 | - ../../xos/xos/core/xoslib/static/css:/opt/xos/core/xoslib/static/css |
| 32 | - ../../xos/xos/core/xoslib/static/images:/opt/xos/core/xoslib/static/images |
| 33 | - ../../xos/xos/core/xoslib/static/js:/opt/xos/core/xoslib/static/js |
Matteo Scandolo | 6b3ee5d | 2016-08-05 10:49:09 -0700 | [diff] [blame] | 34 | |
| 35 | # The following volumes are sometimes used in development, |
| 36 | # but they are not tested and they can break part of the system, handle with care. |
| 37 | # - ../../xos_services:/opt/xos_services |
| 38 | # - ../../xos/xos/core/models:/opt/xos/core/models |
| 39 | # - ../../xos/xos/tosca:/opt/xos/tosca |
| 40 | # - ../../xos/xos/xos:/opt/xos/xos |
Scott Baker | 5042166 | 2016-06-27 22:09:48 -0700 | [diff] [blame] | 41 | |
| 42 | xos_synchronizer_onboarding: |
Scott Baker | d25ae9f | 2016-10-20 15:43:33 -0700 | [diff] [blame] | 43 | image: xosproject/xos |
Scott Baker | 5042166 | 2016-06-27 22:09:48 -0700 | [diff] [blame] | 44 | command: bash -c "cd /opt/xos/synchronizers/onboarding; ./run.sh" |
Scott Baker | 5042166 | 2016-06-27 22:09:48 -0700 | [diff] [blame] | 45 | labels: |
| 46 | org.xosproject.kind: synchronizer |
| 47 | org.xosproject.target: onboarding |
| 48 | links: |
| 49 | - xos_db |
| 50 | volumes: |
| 51 | - /var/run/docker.sock:/var/run/docker.sock |
| 52 | - ./key_import:/opt/xos/key_import:ro |
| 53 | - ./onboarding-docker-compose:/opt/xos/synchronizers/onboarding/docker-compose |
| 54 | - ../../xos_services:/opt/xos_services |
Scott Baker | da3b159 | 2016-10-24 10:45:36 -0700 | [diff] [blame] | 55 | - ../../xos_libraries:/opt/xos_libraries |
Scott Baker | 5042166 | 2016-06-27 22:09:48 -0700 | [diff] [blame] | 56 | log_driver: "json-file" |
| 57 | log_opt: |
| 58 | max-size: "100k" |
| 59 | max-file: "5" |