From 76d0c5641f67634e96ae96ffbe9d1b61c521cf9a Mon Sep 17 00:00:00 2001 From: Ostantia <113256480+Ostantia@users.noreply.github.com> Date: Mon, 10 Apr 2023 10:38:37 +0200 Subject: [PATCH] Update README.md --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index cb48188..bf717f6 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,8 @@ docker run -d -p 22:22 --name monosphere-bastion monosphere-bastion:latest Vous pouvez également personnaliser les variables d'environnement lors de l'exécution du conteneur : ```bash -docker run -d -p 22:22 \ +docker run -d -p 22:2222 \ + -e PORT=2222 \ -e BASTIONUSER=myuser \ -e BASTIONPASS=mypassword \ -e HOSTNAME=my-bastion \ @@ -56,6 +57,7 @@ services: memory: 1G container_name: monosphere-bastion environment: + - PORT=2222 - BASTIONUSER=bastion - BASTIONPASS=bastion - HOSTNAME=monosphere-bastion @@ -63,7 +65,7 @@ services: - /datasets/monosphere-bastion/servers:/opt/public/servers/ - /datasets/monosphere-bastion/custom-scripts:/opt/custom/scripts ports: - - 22:22 + - 22:2222 restart: unless-stopped ```