Add in settings.yml

This commit is contained in:
Michael Snoyman 2015-10-06 06:47:48 +03:00
parent 69863eb363
commit 34886ca21a
3 changed files with 17 additions and 34 deletions

1
.gitignore vendored
View File

@ -15,7 +15,6 @@ cabal.sandbox.config
/dev-blob-store/
TAGS
/config/postgresql.yml
/config/settings.yml
/tarballs/
stackage-server.keter
/stackage-content/

17
config/settings.yml Normal file
View File

@ -0,0 +1,17 @@
Default: &defaults
host: "*4" # any IPv4 host
port: 3000
approot: "http://localhost:3000"
Development:
<<: *defaults
Testing:
<<: *defaults
Staging:
<<: *defaults
Production:
approot: "http://www.stackage.org"
<<: *defaults

View File

@ -1,33 +0,0 @@
Default: &defaults
host: "*4" # any IPv4 host
port: 3000
approot: "http://localhost:3000"
hackage-root: http://hackage.fpcomplete.com
admin-users:
- fpcomplete
# google-auth:
# client-id: foo
# client-secret: bar
Development:
<<: *defaults
blob-store: file:dev-blob-store
Testing:
<<: *defaults
Staging:
<<: *defaults
Production:
#approot: "http://www.example.com"
<<: *defaults
blob-store: file:/tmp/stackage-server
# S3-backed storaged
# blob-store:
# type: aws
# local: /tmp/stackage-server
# access: someaccesskey
# secret: somesecretkey
# bucket: somebucket