1
0

Updated for deployment

Signed-off-by: James Ketrenos <james_git@ketrenos.com>
This commit is contained in:
James Ketr 2021-12-31 16:55:58 -08:00
parent da28abdb0a
commit 2337a87aa3
3 changed files with 4 additions and 14 deletions

1
config/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
local.json

View File

@ -1,10 +0,0 @@
{
"admin": {
"mail": "james_ketran@ketrenos.com"
},
"smtp": {
"host": "ketrenos.com",
"sender": "james_ketran@ketrenos.com"
},
"basePath": "/ketran"
}

View File

@ -1,18 +1,17 @@
[Unit]
Description=OSGC-Aptly REST API
Description=Peddlers of Ketran REST API
Requires=
After=networking.service
[Service]
Environment="HTTP_PROXY=http://proxy-chain.intel.com:911/" "NO_PROXY=localhost,127.0.0.1,.intel.com"
ExecStart=/usr/bin/npm run backend
WorkingDirectory=/home/jketreno/docker/osgc-aptly/osgc-aptly-rest
WorkingDirectory=/home/jketreno/public_html/peddlers-of-ketran
Restart=always
# Restart service after 10 seconds if node service crashes
RestartSec=10
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=osgc-aptly-rest
SyslogIdentifier=peddlers-of-ketran
[Install]
WantedBy=multi-user.target