-
Notifications
You must be signed in to change notification settings - Fork 0
/
web-deployment.yaml
43 lines (43 loc) · 1 KB
/
web-deployment.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
annotations:
apiRoute: /api/v1/users
kompose.cmd: kompose convert
kompose.version: 1.19.0 ()
creationTimestamp: null
labels:
io.kompose.service: web
name: web
spec:
replicas: 1
strategy:
type: Recreate
template:
metadata:
annotations:
apiRoute: /api/v1/users
kompose.cmd: kompose convert
kompose.version: 1.19.0 ()
creationTimestamp: null
labels:
io.kompose.service: web
spec:
containers:
- env:
- name: APP_SETTINGS
value: production
- name: DATABASE_URL
value: postgres://postgres:postgres@db/auth_db
- name: NODE_ENV
value: docker
- name: REDIS_URL
value: redis://cache
image: gcr.io/summer-hawk-258307/web
# image: wagubib/microservice:auth
name: auth-service
ports:
- containerPort: 3000
resources: {}
restartPolicy: Always
status: {}