Update README.md

This commit is contained in:
Ostantia 2023-04-10 10:38:37 +02:00 committed by GitHub
parent c30d5212e7
commit 76d0c5641f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
```