Created
March 31, 2022 07:17
-
-
Save FlyinPancake/595b2c056787d2bf55e3a4a1f987f043 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: Pod | |
metadata: | |
name: hakap | |
labels: | |
app: szintfelmero | |
spec: | |
containers: | |
- name: web | |
image: flyinpancake/hakap-szf | |
ports: | |
- containerPort: 5000 | |
env: | |
- name: REDIS_HOST | |
value: localhost | |
- name: REDIS_PORT | |
value: "6379" | |
- name: redis | |
image: redis | |
ports: | |
- containerPort: 6379 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: hakap | |
spec: | |
type: NodePort | |
ports: | |
- port: 5000 | |
targetPort: 5000 | |
nodePort: 30001 | |
selector: | |
app: szintfelmero |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment