From b2eaef3fa89267fabf9871dce3a2e9172e29421d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabriel=20Zu=C3=B1iga?= Date: Wed, 25 Sep 2024 16:23:02 -0300 Subject: [PATCH] Update docker-compose.yaml I delete version because is deprecated/obsolete I added "restart" because help to not start the container every boot I added also comment to explain how ports work in docker, this help when port 3001 is already used, and need to change for other --- docker-compose.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docker-compose.yaml b/docker-compose.yaml index 6b1a111..f3a82bb 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -1,9 +1,12 @@ -version: "3" services: send2ereader: build: context: . dockerfile: ./Dockerfile container_name: send2ereader + # Restart means, Automatic re-start the container after a shutdown unless manual stop container + restart: unless-stopped + # ports means, Bind external and internal docker ports, only change the external port, not the internal port + # Arquitecture: : ports: - 3001:3001