Docker Community Forums

Share and learn in the Docker community.

Volume_from another contenaire in compose file v3


(Lagaree) #1

Hi i need help upgrade my docker compose file v1 to v3
#########################################
kibana_volumes:
image: xivoxc/kibana_volume:latest

restart: always

fingerboard:
image: xivoxc/fingerboard:${XIVOCC_TAG}.${XIVOCC_DIST}

restart: always
nginx:
image: xivoxc/xivoxc_nginx:${XIVOCC_TAG}.${XIVOCC_DIST}

ports:

  • 80:80
  • 443:443
  • 8443:8443

links:

  • elasticsearch
  • xuc
  • xucmgt

extra_hosts:

  • “xivo_host:${XIVO_HOST}”

volumes_from:

  • kibana_volumes
  • fingerboard

volumes:

  • /etc/docker/nginx/ssl:/etc/nginx/ssl

restart: always