From 80db0229911737c30c44429360305dfe377f4cb0 Mon Sep 17 00:00:00 2001 From: Tiago Neves <32251249+anhaabaete@users.noreply.github.com> Date: Sun, 26 May 2024 20:00:56 -0300 Subject: [PATCH] Complete compose the file compose yml dont have some instructions --- docker/docker-compose.yml | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 5fb8a9785..592435073 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -2,14 +2,15 @@ # https://docs.docker.com/compose/ # # Usage: docker-compose up - -app: - image: sdelements/lets-chat:latest - links: - - mongo - ports: - - 80:8080 - - 5222:5222 - -mongo: - image: mongo:latest +version: '3' +services: + app: + image: sdelements/lets-chat:latest + links: + - mongo + ports: + - 80:8080 + - 5222:5222 + + mongo: + image: mongo:latest