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: |
| 10 | max-size: "100k" |
| 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 |
| 27 | log_driver: "json-file" |
| 28 | log_opt: |
| 29 | max-size: "100k" |
| 30 | max-file: "5" |
| 31 | |
| 32 | xos_bootstrap_ui: |
| 33 | command: python /opt/xos/manage.py runserver 0.0.0.0:81 --insecure --makemigrations |
| 34 | environment: |
| 35 | - CONFIG_DIR |
| 36 | image: xosproject/xos |
| 37 | links: |
| 38 | - xos_db |
| 39 | ports: |
| 40 | - "81:81" |
| 41 | volumes: |
| 42 | - ../common/xos_common_config:/opt/xos/xos_configuration/xos_common_config:ro |
| 43 | - ./files/xos_vtn_config:/opt/xos/xos_configuration/xos_vtn_config:ro |
| 44 | - ../../xos_services:/opt/xos_services |
Zack Williams | c1b451f | 2016-11-03 09:51:41 -0700 | [diff] [blame] | 45 | - ./admin-openrc.sh:/root/setup/admin-openrc.sh |
Zack Williams | 3670f44 | 2016-10-04 17:37:12 -0700 | [diff] [blame] | 46 | log_driver: "json-file" |
| 47 | log_opt: |
| 48 | max-size: "100k" |
| 49 | max-file: "5" |