-
Notifications
You must be signed in to change notification settings - Fork 4
/
azure-takdb.yml
48 lines (47 loc) · 1.13 KB
/
azure-takdb.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
41
42
43
44
45
46
47
48
kind: containerapp
location: westeurope
name: takdb
resourceGroup: <REMOVED>
type: Microsoft.App/containerApps
properties:
managedEnvironmentId: <REMOVED>
configuration:
activeRevisionsMode: Single
ingress:
external: true
allowInsecure: false
exposedPort: 5432
targetPort: 5432
traffic:
- latestRevision: true
weight: 100
transport: tcp
template:
containers:
- name: takdb
image: postgis/postgis:15-3.3
resources:
cpu: 2
memory: 4Gi
volumeMounts:
- mountPath: /var/lib/postgresql/data
volumeName: takdb
env:
- name: POSTGRES_DB
value: cot
- name: POSTGRES_USER
value: martiuser
- name: POSTGRES_ADDRESS
value: takdb
- name: POSTGRES_PASSWORD
value: Password12341
- name: POSTGRES_SUPERUSER
value: martiuser
- name: POSTGRES_SUPER_PASSWORD
value: Password12341
scale:
minReplicas: 1
maxReplicas: 1
volumes:
- name: takdb
storageType: EmptyDir