Docker Community Forums

Share and learn in the Docker community.

Upgrade volume_from and docker compose v3


(Lagaree) #1

Hi , I need help upgrade my docker compose file from v1 to v3
#############################
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
kibana_volumes:
image: xivoxc/kibana_volume:latest

restart: always

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

restart: always