Версия 0.5.0 Версия, готовая для прода в Docker.
This commit is contained in:
parent
0e46659f1a
commit
ce18e9e3a6
2
.env.production
Normal file
2
.env.production
Normal file
@ -0,0 +1,2 @@
|
||||
VITE_API_URL=/api
|
||||
VITE_ENV=production
|
@ -9,7 +9,8 @@ services:
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./uploads:/app/uploads
|
||||
- ./lawn_scheduler.db:/app/db/lawn_scheduler.db
|
||||
- ./db:/app/db
|
||||
user: "1001:1001"
|
||||
environment:
|
||||
- NODE_ENV=production
|
||||
networks:
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "lawn-mowing-scheduler",
|
||||
"private": true,
|
||||
"version": "0.4.4",
|
||||
"version": "0.5.0",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "concurrently \"npm run server\" \"npm run client\"",
|
||||
|
@ -2,6 +2,9 @@
|
||||
|
||||
echo "Starting Lawn Scheduler in Production Mode..."
|
||||
|
||||
# Go to root directory
|
||||
cd "$(dirname "$0")/.." || exit 1
|
||||
|
||||
# Create necessary directories
|
||||
mkdir -p nginx/conf.d
|
||||
mkdir -p uploads
|
||||
|
Loading…
x
Reference in New Issue
Block a user