2021-12-19 09:07:12 +00:00
|
|
|
apiVersion: apps/v1
|
|
|
|
kind: Deployment
|
|
|
|
metadata:
|
|
|
|
annotations:
|
|
|
|
labels:
|
|
|
|
io.kompose.service: pusher
|
|
|
|
name: pusher
|
|
|
|
spec:
|
|
|
|
replicas: 1
|
|
|
|
selector:
|
|
|
|
matchLabels:
|
|
|
|
io.kompose.service: pusher
|
|
|
|
strategy:
|
|
|
|
type: Recreate
|
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
io.kompose.service: pusher
|
|
|
|
spec:
|
|
|
|
containers:
|
2021-12-19 09:48:44 +00:00
|
|
|
- command:
|
2021-12-19 09:07:12 +00:00
|
|
|
- yarn
|
2021-12-19 09:48:44 +00:00
|
|
|
- run
|
|
|
|
- runprod
|
2021-12-19 09:07:12 +00:00
|
|
|
env:
|
|
|
|
- name: ADMIN_API_TOKEN
|
|
|
|
- name: API_URL
|
|
|
|
value: back:50051
|
|
|
|
- name: DEBUG
|
|
|
|
value: socket:*
|
|
|
|
- name: DISABLE_ANONYMOUS
|
|
|
|
- name: FRONT_URL
|
|
|
|
value: http://play.workadventure.localhost
|
|
|
|
- name: JITSI_ISS
|
|
|
|
- name: JITSI_URL
|
|
|
|
- name: OPID_CLIENT_ID
|
|
|
|
- name: OPID_CLIENT_ISSUER
|
|
|
|
- name: OPID_CLIENT_REDIRECT_URL
|
|
|
|
- name: OPID_CLIENT_SECRET
|
|
|
|
- name: OPID_PROFILE_SCREEN_PROVIDER
|
|
|
|
- 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
|
2021-12-19 09:48:44 +00:00
|
|
|
image: thecodingmachine/workadventure-pusher:v1.6.4
|
2021-12-19 09:07:12 +00:00
|
|
|
name: pusher
|
|
|
|
resources: {}
|
|
|
|
volumeMounts:
|
|
|
|
- mountPath: /usr/src/app
|
|
|
|
name: pusher-claim0
|
|
|
|
restartPolicy: Always
|
|
|
|
volumes:
|
|
|
|
- name: pusher-claim0
|
|
|
|
persistentVolumeClaim:
|
|
|
|
claimName: pusher-claim0
|
|
|
|
status: {}
|