0.0.26 • Published 7 years ago
@sourecode/deploy-server v0.0.26
SoureCode/Deploy - Server
Roadmap
domains
property in user- Certbot
- Roles for user
- Permission system
- Cleanup Job
- VHost
- Container
- Image
- webroot
- WebInterface
- Login
- Logout
- Unregister
- View deployments (Container list? VHost list?)
- Admin
- Manage user
- Delete
- Create
- Set password
- Manage VHosts
- Manage Container
- Manage user
Requirements
It is designed to run on a clean server.
$ sudo apt-get update
$ sudo apt-get install nginx
$ sudo apt-get update
$ sudo apt-get install build-essential
Configuration
You need the following file structure:
/srv/deploy
|-- config/
| |-- users.json # The user database
| |-- domain.json # The domain configuration
|-- config.json # The main configuration file
config.json
This is the main configuration. It should looks like this:
{
"secret": "yoursecret",
"webroot": "/var/www/vhosts",
"nginx": "/etc/nginx",
"port": 2872,
"users": "./config/users.json",
"domains": "./config/domains.json",
"register": true
}
config/users.json
Just a file storage for the user.
[]
The passwords will be hashed with argon2
Example user:
{
"username": "admin",
"password": "...",
"email": "admin@sourecode.de",
"domains": []
}
Hint: The domains
property is actual not usable, but will be used to assign users only a range of domains that they can use.
config/domain.json
Used to store the usable domains.
["sourecode.de"]
Installation
Install with:
yarn global add @sourecode/deploy-server
To start the server run deploy-server
in /srv/deploy
.
0.0.26
7 years ago
0.0.25
7 years ago
0.0.24
7 years ago
0.0.23
7 years ago
0.0.22
7 years ago
0.0.21
7 years ago
0.0.20
7 years ago
0.0.19
7 years ago
0.0.18
7 years ago
0.0.17
7 years ago
0.0.16
7 years ago
0.0.15
7 years ago
0.0.14
7 years ago
0.0.13
7 years ago
0.0.12
7 years ago
0.0.11
7 years ago
0.0.10
7 years ago
0.0.9
7 years ago
0.0.8
7 years ago
0.0.7
7 years ago
0.0.6
7 years ago
0.0.5
7 years ago
0.0.4
7 years ago
0.0.3
7 years ago
0.0.2
7 years ago