mirror of
https://github.com/Expand-sys/CCash
synced 2025-12-15 15:52:13 +11:00
pushing files needed for docker
This commit is contained in:
parent
d39247a3b4
commit
c63fab572f
3 changed files with 32 additions and 0 deletions
16
config/config.json
Normal file
16
config/config.json
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"listeners": [
|
||||
{
|
||||
"address": "0.0.0.0",
|
||||
"port": 80,
|
||||
"https": false
|
||||
},
|
||||
{
|
||||
"address": "0.0.0.0",
|
||||
"port": 443,
|
||||
"https": true,
|
||||
"cert": "/CCash/config/cert.cert",
|
||||
"key": "/CCash/config/key.key"
|
||||
}
|
||||
]
|
||||
}
|
||||
9
config/ssl.sh
Normal file
9
config/ssl.sh
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
#!/bin/bash
|
||||
|
||||
|
||||
openssl genrsa -out server.pass.key 2048
|
||||
openssl rsa -in server.pass.key -out /CCash/config/key.key
|
||||
rm server.pass.key
|
||||
openssl req -new -key /CCash/config/key.key -out server.csr \
|
||||
-subj "/C=US/ST=CCashland/L=NEW CCASH/O=CCash/OU=Devs/CN=localhost"
|
||||
openssl x509 -req -days 365 -in server.csr -signkey /CCash/config/key.key -out /CCash/config/cert.cert
|
||||
7
config/users.json
Normal file
7
config/users.json
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"": {
|
||||
"balance": 0,
|
||||
"log": null,
|
||||
"password": 0
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue