Add doc directory to .dockerignore and update image paths in README.md

This commit is contained in:
jarvis2f 2024-03-31 22:38:43 +08:00
parent f4c2c58dcf
commit fdb025a33a
6 changed files with 14 additions and 3 deletions

View File

@ -20,7 +20,6 @@
# debug # debug
npm-debug.log* npm-debug.log*
yarn-debug.log* yarn-debug.log*
yarn-error.log*
.pnpm-debug.log* .pnpm-debug.log*
# local env files # local env files
@ -41,3 +40,5 @@ npm-debug.log
README.md README.md
.git .git
.run .run
/doc

View File

@ -18,10 +18,10 @@ Vortex
</p> </p>
<p align="center"> <p align="center">
<img src="https://raw.githubusercontent.com/jarvis2f/vortex/main/public/dashboard.png" alt="Vortex Dashboard" width="70%"/> <img src="https://raw.githubusercontent.com/jarvis2f/vortex/main/doc/dashboard.png" alt="Vortex Dashboard" width="90%"/>
</p> </p>
<p align="center"> <p align="center">
<img src="https://raw.githubusercontent.com/jarvis2f/vortex/main/public/server.png" alt="Vortex Umami" width="70%"/> <img src="https://raw.githubusercontent.com/jarvis2f/vortex/main/doc/server.png" alt="Vortex Umami" width="90%"/>
</p> </p>
# Installation # Installation
@ -44,6 +44,16 @@ docker-compose up
docker-compose -f docker-compose.umami.yml up docker-compose -f docker-compose.umami.yml up
``` ```
### Backup and Restore PostgreSQL
```bash
docker exec -t vortex-postgres pg_dump -U postgres --data-only vortex > dump_`date +%d-%m-%Y"_"%H_%M_%S`.sql
```
```bash
cat dump.sql | docker exec -i vortex_postgres psql -U postgres -d vortex
```
## Vercel ## Vercel
[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fjarvis2f%2Fvortex) [![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fjarvis2f%2Fvortex)

BIN
doc/dashboard.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 MiB

BIN
doc/server.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 361 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 492 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 166 KiB