ci: use port 8080

This commit is contained in:
Alessandro Pezzè 2021-05-28 11:53:23 +02:00
parent 810510a556
commit c6844f8250
2 changed files with 6 additions and 2 deletions

View file

@ -16,6 +16,8 @@ jobs:
submodules: recursive
- name: Create k8s Kind Cluster
uses: helm/kind-action@v1.1.0
with:
version: v0.11.1
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
with:

View file

@ -23,10 +23,12 @@ spec:
containers:
- name: pokeapi
image: pokeapi/pokeapi:staging
# imagePullPolicy: Always
imagePullPolicy: Always
ports:
- containerPort: 80
- containerPort: 8080
env:
- name: SERVER_PORT
value: 8080
- name: POSTGRES_HOST
value: postgresql
- name: POSTGRES_USER