Skip to content

Commit f232d78

Browse files
committed
Add app/deploy
1 parent bcf3fdc commit f232d78

2 files changed

Lines changed: 38 additions & 0 deletions

File tree

.github/workflows/deploy.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
name: Deploy
2+
on:
3+
push:
4+
branches: [main]
5+
pull_request:
6+
jobs:
7+
javabin:
8+
uses: javaBin/platform/.github/workflows/javabin.yml@main
9+
secrets: inherit

app.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: cupcake-backend
2+
team: cupcake
3+
4+
compute:
5+
cpu: 512
6+
memory: 1024
7+
port: 8080
8+
health_check: /health
9+
10+
routing:
11+
host: cupcake-backend.javazone.no
12+
priority: 101
13+
14+
resources:
15+
secrets:
16+
- name: sp_user
17+
env: SP_USER
18+
- name: sp_password
19+
env: SP_PASSWORD
20+
- name: bring_api_user
21+
env: BRING_API_USER
22+
- name: bring_api_key
23+
env: BRING_API_KEY
24+
25+
auth: internal
26+
27+
environment:
28+
SP_BASE_URL: https://sleepingpill.javazone.no
29+
OIDC_WELL_KNOWN_URL: https://cognito-idp.eu-central-1.amazonaws.com/eu-central-1_Icikv3dtD/.well-known/openid-configuration

0 commit comments

Comments
 (0)