mirror of
https://github.com/commercialhaskell/stackage-server.git
synced 2026-01-12 04:08:29 +01:00
Better keter.yaml, including environment variables done right
This commit is contained in:
parent
aae52c21e9
commit
2769cb8259
@ -1,16 +1,14 @@
|
||||
exec: ../dist/build/stackage-server/stackage-server
|
||||
args:
|
||||
stanzas:
|
||||
- type: webapp
|
||||
exec: ../dist/build/stackage-server/stackage-server
|
||||
args:
|
||||
- production
|
||||
env:
|
||||
STACKAGE_CABAL_LOADER: 0
|
||||
host: www.stackage.org
|
||||
|
||||
redirects:
|
||||
- from: stackage.org
|
||||
to: www.stackage.org
|
||||
|
||||
#postgres: true
|
||||
|
||||
# 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
|
||||
#copy-to: ubuntu@www.stackage.org:/opt/keter/incoming
|
||||
env:
|
||||
STACKAGE_CABAL_LOADER: "0"
|
||||
host: www.stackage.org
|
||||
- type: redirect
|
||||
hosts:
|
||||
- stackage.org
|
||||
status: 301
|
||||
actions:
|
||||
- host: www.stackage.org
|
||||
|
||||
Loading…
Reference in New Issue
Block a user