2
0
mirror of https://github.com/offen/website.git synced 2024-12-23 13:30:20 +01:00

Merge pull request #27 from offen/alpha-deployment

Alpha deployment
This commit is contained in:
Frederik Ring 2019-06-17 22:36:58 +02:00 committed by GitHub
commit 74d8dbe0f3
3 changed files with 27 additions and 2 deletions

3
.gitignore vendored
View File

@ -1,3 +1,6 @@
.vscode
.serverless
node_modules/
package-lock.json
# mkcert certificates
*.pem

View File

@ -11,10 +11,10 @@ services:
- $GOPATH/pkg/mod:/go/pkg/mod
environment:
- GOPATH=/go
- BASIC_AUTH_PASSWORD=test
- KEY_FILE=key.txt
ports:
- 8081:8081
command: go run cmd/kms/main.go -key local.offen.dev-key.pem -cert local.offen.dev.pem -port 8081
command: go run cmd/kms/main.go -key local.offen.dev-key.pem -cert local.offen.dev.pem -port 8081 -origin https://local.offen.dev:9977
server:
image: golang:1.12

22
package.json Normal file
View File

@ -0,0 +1,22 @@
{
"name": "offen",
"private": true,
"version": "1.0.0",
"repository": {
"type": "git",
"url": "git+https://github.com/offen/offen.git"
},
"author": "offen",
"license": "MIT",
"bugs": {
"url": "https://github.com/offen/offen/issues"
},
"homepage": "https://github.com/offen/offen#readme",
"dependencies": {
"serverless": "^1.45.0",
"serverless-finch": "^2.4.2"
},
"devDependencies": {
"serverless-domain-manager": "^2.6.13"
}
}