docker-compose-nfs.yml 476 B

123456789101112131415161718192021
  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. version: '3.2'
  7. services:
  8. nfs:
  9. image: itsthenetwork/nfs-server-alpine:9
  10. container_name: cello-nfs
  11. restart: unless-stopped
  12. environment:
  13. - SHARED_DIRECTORY=/cello
  14. - SYNC=true
  15. ports:
  16. - 2049:2049
  17. volumes:
  18. - $ROOT_PATH/src/agent/docker/_compose_files:/cello
  19. privileged: true