forked from sameersbn/docker-gitlab
-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathpostgres-rc.json
52 lines (51 loc) · 1.45 KB
/
postgres-rc.json
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
44
45
46
47
48
49
50
51
52
{
"kind": "ReplicationController",
"apiVersion": "v1",
"metadata": {
"name": "postgresql",
"labels": {
"name": "postgresql"
}
},
"spec": {
"replicas": 1,
"selector": {
"name": "postgresql"
},
"template": {
"metadata": {
"labels": {
"name": "postgresql"
}
},
"spec": {
"containers": [
{
"name": "postgresql",
"image": "swordphilic/postgresql:latest",
"ports": [
{
"name": "postgresql-port",
"containerPort": 5432
}
],
"env": [
{
"name": "DB_USER",
"value": "gitlab"
},
{
"name": "DB_PASS",
"value": "password"
},
{
"name": "DB_NAME",
"value": "gitlab_production"
}
]
}
]
}
}
}
}