Enable keter deployment
This commit is contained in:
parent
6b0f380808
commit
921e1faca1
@ -1,13 +1,6 @@
|
|||||||
# After you've edited this file, remove the following line to allow
|
root: ..
|
||||||
# `yesod keter` to build your bundle.
|
|
||||||
user-edited: false
|
|
||||||
|
|
||||||
# A Keter app is composed of 1 or more stanzas. The main stanza will define our
|
|
||||||
# web application. See the Keter documentation for more information on
|
|
||||||
# available stanzas.
|
|
||||||
stanzas:
|
stanzas:
|
||||||
|
|
||||||
# Your Yesod application.
|
|
||||||
- type: webapp
|
- type: webapp
|
||||||
|
|
||||||
# Name of your executable. You are unlikely to need to change this.
|
# Name of your executable. You are unlikely to need to change this.
|
||||||
@ -22,49 +15,19 @@ stanzas:
|
|||||||
args: []
|
args: []
|
||||||
|
|
||||||
hosts:
|
hosts:
|
||||||
# You can specify one or more hostnames for your application to respond
|
- testworx.tcs.ifi.lmu.de
|
||||||
# to. The primary hostname will be used for generating your application
|
|
||||||
# root.
|
|
||||||
- www.uniworx.com
|
|
||||||
|
|
||||||
# Enable to force Keter to redirect to https
|
ssl: true
|
||||||
# Can be added to any stanza
|
|
||||||
requires-secure: false
|
|
||||||
|
|
||||||
# Static files.
|
|
||||||
- type: static-files
|
|
||||||
hosts:
|
|
||||||
- static.uniworx.com
|
|
||||||
root: ../static
|
|
||||||
|
|
||||||
# Uncomment to turn on directory listings.
|
|
||||||
# directory-listing: true
|
|
||||||
|
|
||||||
# Redirect plain domain name to www.
|
|
||||||
- type: redirect
|
|
||||||
|
|
||||||
hosts:
|
|
||||||
- uniworx.com
|
|
||||||
actions:
|
|
||||||
- host: www.uniworx.com
|
|
||||||
# secure: false
|
|
||||||
# port: 80
|
|
||||||
|
|
||||||
# Uncomment to switch to a non-permanent redirect.
|
|
||||||
# status: 303
|
|
||||||
|
|
||||||
# Use the following to automatically copy your bundle upon creation via `yesod
|
# Use the following to automatically copy your bundle upon creation via `yesod
|
||||||
# keter`. Uses `scp` internally, so you can set it to a remote destination
|
# keter`. Uses `scp` internally, so you can set it to a remote destination
|
||||||
# copy-to: user@host:/opt/keter/incoming/
|
# copy-to: user@host:/opt/keter/incoming/
|
||||||
|
copy-to: keter@testworx.tcs.ifi.lmu.de:/opt/keter/incoming/
|
||||||
# You can pass arguments to `scp` used above. This example limits bandwidth to
|
copy-to-args:
|
||||||
# 1024 Kbit/s and uses port 2222 instead of the default 22
|
- "-P 30363"
|
||||||
# copy-to-args:
|
|
||||||
# - "-l 1024"
|
|
||||||
# - "-P 2222"
|
|
||||||
|
|
||||||
# If you would like to have Keter automatically create a PostgreSQL database
|
# If you would like to have Keter automatically create a PostgreSQL database
|
||||||
# and set appropriate environment variables for it to be discovered, uncomment
|
# and set appropriate environment variables for it to be discovered, uncomment
|
||||||
# the following line.
|
# the following line.
|
||||||
# plugins:
|
plugins:
|
||||||
# postgres: true
|
postgres: true
|
||||||
|
|||||||
@ -8,7 +8,7 @@ ip-from-header: "_env:IP_FROM_HEADER:false"
|
|||||||
|
|
||||||
# Default behavior: determine the application root from the request headers.
|
# Default behavior: determine the application root from the request headers.
|
||||||
# Uncomment to set an explicit approot
|
# Uncomment to set an explicit approot
|
||||||
#approot: "_env:APPROOT:http://localhost:3000"
|
approot: "_env:APPROOT:http://localhost:3000"
|
||||||
|
|
||||||
# Optional values with the following production defaults.
|
# Optional values with the following production defaults.
|
||||||
# In development, they default to the inverse.
|
# In development, they default to the inverse.
|
||||||
|
|||||||
@ -1,5 +1,8 @@
|
|||||||
flags: {}
|
flags: {}
|
||||||
|
docker:
|
||||||
|
enable: true
|
||||||
nix:
|
nix:
|
||||||
|
enable: false
|
||||||
packages: []
|
packages: []
|
||||||
pure: false
|
pure: false
|
||||||
shell-file: ./stack.nix
|
shell-file: ./stack.nix
|
||||||
|
|||||||
Reference in New Issue
Block a user