Questions tagged [keter]

Web app deployment manager.

Web app deployment manager.

https://github.com/snoyberg/keter

20 questions
17
votes
1 answer

Passing app secrets in Yesod and Keter

I'm building a web app with Yesod and am currently passing in secrets such as API keys via environment variables (as per The Twelve-Factor App) to avoid storing these values in version-controlled configuration files. For example, I run my app in dev…
Richard Cook
  • 32,523
  • 5
  • 46
  • 71
3
votes
2 answers

Usage of letsencrypt with keter/yesod/warp

Currently, I'm thinking about usage of letsencrypt https certificates with yesod application, which will be deployed to the actual server using keter. My question is: What is the best way to do so? There are no explicit description about this in the…
Takao
  • 1,016
  • 6
  • 11
3
votes
1 answer

sudden yesod tls exception, DecodeError

I've suddenly started encountering the following errors when attempting to use gmail authentication (Yesod.Auth.GoogleEmail2) in my Yesod Application: FailedConnectionException2 "www.googleapis.com" 443 True sendBuf: resource vanished (Broken…
3
votes
1 answer

Run Keter without GHC and cabal

I have a server and want to deploy my Yesod applications without installing GHC and Cabal. I am not sure if is possible: a Teacher told me that I must first compile Keter in my machine and, after that, put keter executable on the server, though I am…
oriaj
  • 768
  • 1
  • 16
  • 33
3
votes
2 answers

How can I deploy Yesod using Keter?

I'm trying to deploy a Yesod app to an Ubuntu server using Keter. So far this is what I've done: Install Keter on the server using the provided setup script wget -O - https://raw.github.com/snoyberg/keter/master/setup-keter.sh | bash Run yesod…
MaxGabriel
  • 7,617
  • 4
  • 35
  • 82
2
votes
1 answer

How to build & deploy Keter for NixOS?

Here is my fork of Keter with *.nix files generated via cabal2nix: https://github.com/bsima/keter/tree/nix I did nix-build shell.nix on my dev machine (NixOS 17.09), then used nix-copy-closure to put it on my VPS on Digital Ocean (also NixOS 17.09,…
Ben
  • 574
  • 3
  • 12
2
votes
1 answer

Including extra directories with Keter

I have a Yesod site and have created a handler for handling downloads and enforcing constraints. My Yesod project directory has a subdirectory called downloads, and it contains files I want the user to be able to download if they are logged in. …
nomen
  • 3,626
  • 2
  • 23
  • 40
1
vote
1 answer

How should I make environment variables available to my web app?

OS: Ubuntu 20.04 LTS I am attempting to deploy a web app using Keter, the app depends upon several environment variables which I seem to be struggling to make available. For reference I've been using this resource from the Ubuntu community to try…
James Burton
  • 746
  • 3
  • 12
1
vote
0 answers

CSS no longer applying with keter and nginx reverse proxy setup

Problem: CSS was being applied to the site but after switching to reverse proxy and adding a security cert while changing nothing else, the CSS no longer loads. Details: Initially the website was using keter only with no security cert or reverse…
1
vote
1 answer

Yesod web app with Keter and Cloudflare's free SSL

I have VPS running Debian 9 with Keter serving single web application. I've generated certificates using Create certificate button in Origin Certificates section of Crypto tab. Then I've edited my keter.yaml: stanzas: - type: webapp exec:…
Geradlus_RU
  • 1,466
  • 2
  • 20
  • 37
1
vote
0 answers

Resolving dependency issue while installing keter vis stack

I am trying to install the keter executable to the implicit "global-project" of stack. I use stack install keter from the directory to do this. When I do so, I get the error. In the dependencies for keter-1.4.3.2: http-reverse-proxy-0.5.0.1…
neallred
  • 740
  • 1
  • 8
  • 24
1
vote
1 answer

Yesod app on keter with read-only access to DB

I have couple yesod apps deployed using keter with PostgreSQL. The thing I really like about them is the automatic DB migration that happens on deployment. But, now I have faced a small problem: I set up DB replica on another virtual machine; the…
artem
  • 363
  • 1
  • 9
1
vote
1 answer

Are there any distros that include a binary package for keter?

I am preparing to deploy a yesod webapp using keter. The only instructions to install keter is these: https://www.stackage.org/nightly-2017-07-19/package/keter-1.4.3.2. Which have this suggestion: This approach is not recommended for a production…
1
vote
0 answers

how to build keter bundle for yesod web app that is one package of many in a stack build

I have a project that contains several packages that are specified in one stack.yaml file. One of these packages is the yesod application. It depends on the other packages. stack build handles dependencies nicely, but how do I build the keter bundle…
d8d0d65b3f7cf42
  • 2,597
  • 15
  • 28
1
vote
0 answers

Deploying Yesod project using keter at localhost

I installed Keter and compiled my project using stack exec -- yesod keter, and then I copied the compiled keter file to /opt/keter/incoming. this is my config/keter.yml file: exec: ../dist/build/MyProject/MyProject host: localhost and this is my…
FtheBuilder
  • 1,410
  • 12
  • 19
1
2