Installer and readme patches
This commit is contained in:
@@ -50,16 +50,10 @@
|
||||
- [Docker](https://www.docker.com)
|
||||
- [Node.js](https://nodejs.org/en/download/)
|
||||
|
||||
Run this on bash
|
||||
**Being in the home directory is recommended**
|
||||
|
||||
```bash
|
||||
wget -qO- https://raw.githubusercontent.com/orus-dev/dockship/refs/heads/master/installer.sh | bash
|
||||
```
|
||||
|
||||
Or with curl
|
||||
|
||||
```bash
|
||||
curl -fsSL https://raw.githubusercontent.com/orus-dev/dockship/refs/heads/master/installer.sh | bash
|
||||
git clone https://github.com/orus-dev/dockship.git && cd dockship && bash installer.sh
|
||||
```
|
||||
|
||||
## License
|
||||
|
||||
+4
-1
@@ -70,9 +70,12 @@ After=network.target
|
||||
[Service]
|
||||
Type=simple
|
||||
WorkingDirectory=$(pwd)
|
||||
ExecStart=$(which npm) run start
|
||||
# Use Node directly to run Next.js standalone server
|
||||
ExecStart=$(which node) .next/standalone/server.js
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
EnvironmentFile=$(pwd)/.env
|
||||
Environment=PATH=$(dirname $(which node)):/usr/bin:/bin
|
||||
User=$(whoami)
|
||||
Group=$(whoami)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user