Skip to content

Commit

Permalink
Merge pull request #28 from Iteam1337/feat/serve
Browse files Browse the repository at this point in the history
Feat/serve
  • Loading branch information
irony authored Sep 18, 2024
2 parents 82d512c + a12e64a commit 2841d99
Show file tree
Hide file tree
Showing 5 changed files with 711 additions and 20 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ web-build/

# Temporary files created by Metro to check the health of the file watcher
.metro-health-check*
.env
.env
.aider*
3 changes: 2 additions & 1 deletion app.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
}
},
"web": {
"favicon": "./assets/favicon.png"
"favicon": "./assets/favicon.png",
"publicPath": "/"
},
"runtimeVersion": {
"policy": "sdkVersion"
Expand Down
20 changes: 16 additions & 4 deletions k8s/app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,20 @@ spec:
memory: '128Mi'
cpu: '500m'
ports:
- containerPort: 80
- containerPort: 3000
name: http
readinessProbe:
httpGet:
path: /
port: http
initialDelaySeconds: 5
periodSeconds: 10
livenessProbe:
httpGet:
path: /
port: http
initialDelaySeconds: 30
periodSeconds: 60
---
apiVersion: v1
kind: Service
Expand All @@ -33,8 +45,8 @@ metadata:
app: foodmarket
spec:
ports:
- port: 80
targetPort: 80
- port: 3000
targetPort: 3000
protocol: TCP
name: http
selector:
Expand Down Expand Up @@ -67,4 +79,4 @@ spec:
service:
name: foodmarket
port:
number: 80
number: 3000
Loading

2 comments on commit 2841d99

@expo
Copy link

@expo expo bot commented on 2841d99 Sep 18, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GitHub Build Trigger Failure

The build trigger failed with the following error:

INVALID_EAS_JSON_ERROR: eas.json not found in the repository.

Please check your GitHub app installation settings and your Expo project's GitHub settings to make sure you've configured everything correctly.

@expo
Copy link

@expo expo bot commented on 2841d99 Sep 18, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GitHub Build Trigger Failure

The build trigger failed with the following error:

INVALID_EAS_JSON_ERROR: eas.json not found in the repository.

Please check your GitHub app installation settings and your Expo project's GitHub settings to make sure you've configured everything correctly.

Please sign in to comment.