Update README and server configuration for VPS Tracker application
Docker / build (push) Failing after 2m55s
Docker / build (push) Failing after 2m55s
- Renamed project from "React + Vite" to "VPS Tracker" and updated the README to reflect the application's purpose and usage instructions. - Added detailed Docker setup instructions, including two methods for running the application: using Docker Compose and standalone Docker. - Implemented static file serving in the server configuration to serve the frontend from the 'dist' directory if it exists, enhancing the application's deployment capabilities.
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
# VPS Tracker: приложение + SQLite в ./data (создайте каталог или он появится при первом запуске)
|
||||
services:
|
||||
app:
|
||||
build: .
|
||||
ports:
|
||||
- "3001:3001"
|
||||
environment:
|
||||
PORT: "3001"
|
||||
volumes:
|
||||
- ./data:/app/data
|
||||
Reference in New Issue
Block a user