Repository URL to install this package:
Version:
0.1.21-1 ▾
|
apiVersion: apps/v1
kind: Deployment
metadata:
name: currency
labels:
app: currency
spec:
selector:
matchLabels:
app: currency
template:
metadata:
labels:
app: currency
spec:
containers:
- name: currency
image: dev/currency:dev
imagePullPolicy: IfNotPresent
env:
- name: GEOLOCATION_SERVICE_HOST
value: geolocation:8080
ports:
- containerPort: 9000
- name: nginx
image: nginx:1.27.5
ports:
- containerPort: 8080
volumeMounts:
- name: nginx-config
mountPath: /etc/nginx/conf.d
volumes:
- name: nginx-config
configMap:
name: currency-nginx-config
---
apiVersion: v1
kind: ConfigMap
metadata:
name: currency-nginx-config
data:
nginx.conf: |
server {
listen 8080;
server_name localhost;
location / {
include fastcgi_params;
fastcgi_pass 127.0.0.1:9000;
fastcgi_param SCRIPT_FILENAME /app/index.php;
}
}