summaryrefslogtreecommitdiffstats
path: root/snapcraft.yaml
diff options
context:
space:
mode:
authorOndrej Kubik <ondrej.kubik@canonical.com>2017-11-04 19:23:28 +0000
committerOndrej Kubik <ondrej.kubik@canonical.com>2018-02-21 22:29:23 +0000
commite077c85d003fb3cfd837ad8064ade767fa8fe04f (patch)
treea2440082e3c4f8917095758dead9a577b3efa4b5 /snapcraft.yaml
parent3665a9131c4f0bac07727a5f908905e9a6348535 (diff)
downloadwekan-e077c85d003fb3cfd837ad8064ade767fa8fe04f.tar.gz
wekan-e077c85d003fb3cfd837ad8064ade767fa8fe04f.tar.bz2
wekan-e077c85d003fb3cfd837ad8064ade767fa8fe04f.zip
Adding caddy support
Signed-off-by: Ondrej Kubik <ondrej.kubik@canonical.com>
Diffstat (limited to 'snapcraft.yaml')
-rw-r--r--snapcraft.yaml14
1 files changed, 14 insertions, 0 deletions
diff --git a/snapcraft.yaml b/snapcraft.yaml
index 7766f677..ce41bdf3 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -38,6 +38,11 @@ apps:
daemon: simple
plugs: [network, network-bind]
+ caddy-service:
+ command: caddy-control
+ daemon: simple
+ plugs: [network, network-bind]
+
help:
command: wekan-help
@@ -124,3 +129,12 @@ parts:
helpers:
source: snap-src
plugin: dump
+
+ caddy:
+ plugin: go
+ go-importpath: github.com/mholt/caddy
+ source: https://github.com/mholt/caddy.git
+ source-type: git
+ source-commit: 53e117802fedd5915eeb32907873d8786a4b2936
+ prime:
+ - bin/caddy