84 lines
2.7 KiB
YAML
84 lines
2.7 KiB
YAML
|
apiVersion: apps/v1
|
||
|
kind: Deployment
|
||
|
metadata:
|
||
|
annotations:
|
||
|
kompose.cmd: /home/nico/Downloads/kompose convert
|
||
|
kompose.version: 1.26.0 (40646f47)
|
||
|
traefik.enable: "true"
|
||
|
traefik.http.routers.back-ssl.entryPoints: websecure
|
||
|
traefik.http.routers.back-ssl.rule: Host(`api.workadventure.localhost`)
|
||
|
traefik.http.routers.back-ssl.service: back
|
||
|
traefik.http.routers.back-ssl.tls: "true"
|
||
|
traefik.http.routers.back.entryPoints: web
|
||
|
traefik.http.routers.back.rule: Host(`api.workadventure.localhost`)
|
||
|
traefik.http.services.back.loadbalancer.server.port: "8080"
|
||
|
creationTimestamp: null
|
||
|
labels:
|
||
|
io.kompose.service: back
|
||
|
name: back
|
||
|
spec:
|
||
|
replicas: 1
|
||
|
selector:
|
||
|
matchLabels:
|
||
|
io.kompose.service: back
|
||
|
strategy:
|
||
|
type: Recreate
|
||
|
template:
|
||
|
metadata:
|
||
|
annotations:
|
||
|
kompose.cmd: /home/nico/Downloads/kompose convert
|
||
|
kompose.version: 1.26.0 (40646f47)
|
||
|
traefik.enable: "true"
|
||
|
traefik.http.routers.back-ssl.entryPoints: websecure
|
||
|
traefik.http.routers.back-ssl.rule: Host(`api.workadventure.localhost`)
|
||
|
traefik.http.routers.back-ssl.service: back
|
||
|
traefik.http.routers.back-ssl.tls: "true"
|
||
|
traefik.http.routers.back.entryPoints: web
|
||
|
traefik.http.routers.back.rule: Host(`api.workadventure.localhost`)
|
||
|
traefik.http.services.back.loadbalancer.server.port: "8080"
|
||
|
creationTimestamp: null
|
||
|
labels:
|
||
|
io.kompose.service: back
|
||
|
spec:
|
||
|
containers:
|
||
|
- args:
|
||
|
- yarn
|
||
|
- dev
|
||
|
env:
|
||
|
- name: ADMIN_API_TOKEN
|
||
|
- name: ALLOW_ARTILLERY
|
||
|
value: "true"
|
||
|
- name: DEBUG
|
||
|
value: '*'
|
||
|
- name: JITSI_ISS
|
||
|
- name: JITSI_URL
|
||
|
- name: MAX_PER_GROUP
|
||
|
value: MAX_PER_GROUP
|
||
|
- name: NODE_ENV
|
||
|
value: development
|
||
|
- name: REDIS_HOST
|
||
|
value: redis
|
||
|
- name: SECRET_JITSI_KEY
|
||
|
- name: SECRET_KEY
|
||
|
value: yourSecretKey
|
||
|
- name: STARTUP_COMMAND_1
|
||
|
value: yarn install
|
||
|
- name: STARTUP_COMMAND_2
|
||
|
value: while [ ! -f /usr/src/app/src/Messages/generated/messages_pb.js ]; do sleep 1; done
|
||
|
- name: STORE_VARIABLES_FOR_LOCAL_MAPS
|
||
|
value: "true"
|
||
|
- name: TURN_STATIC_AUTH_SECRET
|
||
|
value: SomeStaticAuthSecret
|
||
|
image: thecodingmachine/nodejs:12
|
||
|
name: back
|
||
|
resources: {}
|
||
|
volumeMounts:
|
||
|
- mountPath: /usr/src/app
|
||
|
name: back-claim0
|
||
|
restartPolicy: Always
|
||
|
volumes:
|
||
|
- name: back-claim0
|
||
|
persistentVolumeClaim:
|
||
|
claimName: back-claim0
|
||
|
status: {}
|