update dev env

This commit is contained in:
Arnaud Delcasse
2025-09-09 05:51:30 +02:00
parent d58c978056
commit d0cd79e4ff
15 changed files with 246 additions and 56 deletions

View File

@@ -0,0 +1,18 @@
dev_env: true
storage:
db:
type: mongodb
mongodb:
host: mongodb
port: 27017
db_name: coopgo_platform
services:
grpc:
port: 8080
routing:
type: valhalla
valhalla:
base_url: https://valhalla.coopgo.io/

View File

@@ -0,0 +1,31 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: carpool-service
spec:
selector:
matchLabels:
app: carpool-service
template:
metadata:
labels:
app: carpool-service
spec:
containers:
- name: carpool-service
image: coopgo-platform/carpool-service
ports:
- name: grpc
containerPort: 8080
protocol: TCP
volumeMounts:
- name: carpool-service-config-volume
mountPath: /config.yaml
subPath: config.yaml
volumes:
- name: carpool-service-config-volume
configMap:
name: carpool-service-config
items:
- key: config.yaml
path: config.yaml

View File

@@ -0,0 +1,9 @@
resources:
- deployment.yaml
- service.yaml
configMapGenerator:
- name: carpool-service-config
files:
- config.yaml

View File

@@ -0,0 +1,11 @@
apiVersion: v1
kind: Service
metadata:
name: carpool-service
spec:
selector:
app: carpool-service
ports:
- port: 8080
name: grpc
targetPort: 8080