Compare commits

...
3 Commits
3 changed files with 21 additions and 2 deletions

No files matched your search

+11
View File
@@ -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
+8
View File
@@ -0,0 +1,8 @@
services:
notes:
build: .
image: notes
container_name: notes
restart: unless-stopped
ports:
- "${PORT:-8080}:80"
+2 -2
View File
@@ -11,8 +11,8 @@ export default defineConfig({
registerType: 'autoUpdate',
includeAssets: ['icon.svg', 'apple-touch-icon-180x180.png'],
manifest: {
name: 'new',
short_name: 'new',
name: 'Notes',
short_name: 'Notes',
description: 'Application web SPA PWA installable et utilisable hors connexion.',
lang: 'fr',
start_url: '/',