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