Regroupe la documentation ainsi que les fichiers communs du projet collaborateur-EPA, notamment le docker-compose.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Collaborateur_Epa_Compose_Doc/api-deployment.yaml

43 lines
1.1 KiB

apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
kompose.cmd: C:\ProgramData\chocolatey\lib\kubernetes-kompose\tools\kompose.exe convert
kompose.version: 1.26.1 (a9d05d509)
creationTimestamp: null
labels:
io.kompose.service: api
name: api
spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: api
strategy: {}
template:
metadata:
annotations:
kompose.cmd: C:\ProgramData\chocolatey\lib\kubernetes-kompose\tools\kompose.exe convert
kompose.version: 1.26.1 (a9d05d509)
creationTimestamp: null
labels:
io.kompose.service: api
spec:
containers:
- env:
- name: DATABASE_HOSTNAME
value: db
- name: DATABASE_NAME
- name: DATABASE_PASSWORD
- name: DATABASE_PORT
value: "3306"
- name: DATABASE_USERNAME
image: espacecollabbackendapi
name: api
ports:
- containerPort: 80
- containerPort: 443
resources: {}
restartPolicy: Always
status: {}