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 submodules: recursive
- name: Create k8s Kind Cluster - name: Create k8s Kind Cluster
uses: helm/kind-action@v1.1.0 uses: helm/kind-action@v1.1.0
with:
version: v0.11.1
- name: Setup tmate session - name: Setup tmate session
uses: mxschmitt/action-tmate@v3 uses: mxschmitt/action-tmate@v3
with: with:

View file

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