-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathps-postgres.yml
40 lines (40 loc) · 1.21 KB
/
ps-postgres.yml
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
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: ps-postgres
spec:
replicas: 1
template:
metadata:
labels:
app: ps-postgres
spec:
containers:
- name: postgres
env:
- name: POSTGRES_DB
value: activiti
- name: POSTGRES_USER
value: alfresco
- name: POSTGRES_PASSWORD
value: alfresco
image: postgres:9.6.2
- name: process-services
env:
- name: ACTIVITI_CORS_ENABLED
value: 'true'
- name: ACTIVITI_CSRF_DISABLED
value: 'true'
- name: ACTIVITI_DATASOURCE_PASSWORD
value: alfresco
- name: ACTIVITI_DATASOURCE_USERNAME
value: alfresco
- name: ACTIVITI_DATASOURCE_DRIVER
value: org.postgresql.Driver
- name: ACTIVITI_HIBERNATE_DIALECT
value: org.hibernate.dialect.PostgreSQLDialect
- name: ACTIVITI_DATASOURCE_URL
value: 'jdbc:postgresql://127.0.0.1:5432/activiti?characterEncoding=UTF-8'
image: alfresco/process-services:1.6.2
ports:
- containerPort: 8080