docs: document docker compose usage in README
This commit is contained in:
1 parent
5452fb8680
commit
249776b536
1 file changed
+11
@@ -54,6 +54,17 @@ pnpm install
|
||||
|
||||
### Build et exécution locale
|
||||
|
||||
Avec Docker Compose (recommandé) :
|
||||
|
||||
```bash
|
||||
docker compose up -d
|
||||
```
|
||||
|
||||
Le port peut être changé via la variable d'environnement `PORT` (par défaut 8080) :
|
||||
`PORT=9090 docker compose up -d`.
|
||||
|
||||
Ou avec les commandes Docker :
|
||||
|
||||
```bash
|
||||
docker build -t notes .
|
||||
docker run -d --name notes -p 8080:80 notes
|
||||
|
||||
Reference in new issue
Block a user