Compare commits
3
Commits
ba1ba57fa5
...
551f351ce1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
551f351ce1 | ||
|
|
249776b536 | ||
|
|
5452fb8680 |
No files matched your search
@@ -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
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
services:
|
||||
notes:
|
||||
build: .
|
||||
image: notes
|
||||
container_name: notes
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "${PORT:-8080}:80"
|
||||
+2
-2
@@ -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: '/',
|
||||
|
||||
Reference in new issue
Block a user