Better keter.yaml, including environment variables done right

This commit is contained in:
Michael Snoyman 2014-11-17 12:22:35 +02:00
parent aae52c21e9
commit 2769cb8259

View File

@ -1,16 +1,14 @@
exec: ../dist/build/stackage-server/stackage-server stanzas:
args: - type: webapp
exec: ../dist/build/stackage-server/stackage-server
args:
- production - production
env: env:
STACKAGE_CABAL_LOADER: 0 STACKAGE_CABAL_LOADER: "0"
host: www.stackage.org host: www.stackage.org
- type: redirect
redirects: hosts:
- from: stackage.org - stackage.org
to: www.stackage.org status: 301
actions:
#postgres: true - host: www.stackage.org
# 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