use srcDir, remove old/irellevant code
This commit is contained in:
parent
9cf4501c1b
commit
36cd059810
|
@ -2,6 +2,7 @@ version = "0.1.0"
|
||||||
author = "Christine Dodrill <xena@yolo-swag.com>"
|
author = "Christine Dodrill <xena@yolo-swag.com>"
|
||||||
description = "PonyAPI server https://github.com/Xe/PonyAPI"
|
description = "PonyAPI server https://github.com/Xe/PonyAPI"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
srcDir = "src"
|
||||||
bin = @["ponyapi"]
|
bin = @["ponyapi"]
|
||||||
|
|
||||||
requires "nim >= 0.10.0", "jester#head", "random"
|
requires "nim >= 0.10.0", "jester#head", "random"
|
||||||
|
|
|
@ -1,7 +0,0 @@
|
||||||
ponyapi.apps.xeserv.us {
|
|
||||||
log syslog
|
|
||||||
|
|
||||||
proxy / http://127.0.0.1:6452 {
|
|
||||||
proxy_header Host {host}
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,13 +0,0 @@
|
||||||
[Unit]
|
|
||||||
Description=PonyAPI Server listening on port 6452
|
|
||||||
Requires=docker.service
|
|
||||||
Restart=always
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
ExecStartPre=-/usr/bin/docker pull xena/ponyapi
|
|
||||||
ExecStartPre=-/usr/bin/docker rm -f ponyapi
|
|
||||||
ExecStart=/usr/bin/docker run -p 6452:5000 --name ponyapi xena/ponyapi
|
|
||||||
ExecStop=/usr/bin/docker rm -f ponyapi
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=network.target
|
|
Loading…
Reference in New Issue