34 lines
668 B
YAML
34 lines
668 B
YAML
|
image:
|
||
|
pullPolicy: IfNotPresent
|
||
|
repository: draganczukp/simply-shorten
|
||
|
tag: 1.1@sha256:97b2726a0a443d6d41dfb0988dcb377b1b3960d32b3fd917fd74806e03ac145f
|
||
|
service:
|
||
|
main:
|
||
|
ports:
|
||
|
main:
|
||
|
port: 4567
|
||
|
protocol: http
|
||
|
targetPort: 4567
|
||
|
persistence:
|
||
|
config:
|
||
|
enabled: true
|
||
|
mountPath: "/config/db"
|
||
|
portal:
|
||
|
open:
|
||
|
enabled: true
|
||
|
securityContext:
|
||
|
container:
|
||
|
readOnlyRootFilesystem: false
|
||
|
runAsNonRoot: false
|
||
|
runAsGroup: 0
|
||
|
runAsUser: 0
|
||
|
workload:
|
||
|
main:
|
||
|
podSpec:
|
||
|
containers:
|
||
|
main:
|
||
|
env:
|
||
|
db_url: "/config/db/urls.sqlite"
|
||
|
password: user
|
||
|
username: pass
|