docker-compose-build-js.yaml 545 B

1234567891011121314151617181920
  1. # This compose file will deploy the services, and bootup a mongo server.
  2. # Copyright IBM Corp., All Rights Reserved.
  3. #
  4. # SPDX-License-Identifier: Apache-2.0
  5. #
  6. # Local `/opt/cello/mongo` will be used for the db storage.
  7. # dashboard: dashboard service of cello, listen on 8080
  8. # app: app service of cello, listen on 80
  9. # nginx: front end
  10. # mongo: mongo db
  11. version: '2'
  12. services:
  13. build-admin-js:
  14. build:
  15. context: $ROOT_PATH/src/static
  16. volumes:
  17. - $ROOT_PATH/src/static:/var/www
  18. - $ROOT_PATH/src/templates:/templates