bumpter
This commit is contained in:
1 parent
f7fc397d10
commit
33d6d4b7a2
1 file changed
+78
@@ -0,0 +1,78 @@
|
||||
services:
|
||||
bumper:
|
||||
image: bmartin5692/bumper
|
||||
restart: always
|
||||
volumes:
|
||||
data: /bumper/data
|
||||
certs: /bumper/certs
|
||||
ports:
|
||||
- port: '443'
|
||||
- port: '8007'
|
||||
- port: '8883'
|
||||
- port: '5223'
|
||||
annotations:
|
||||
"metallb.universe.tf/loadBalancerIPs" : "10.0.100.3"
|
||||
"metallb.io/ip-allocated-from-pool" : "homelab-pool"
|
||||
serviceType: LoadBalancer
|
||||
environment:
|
||||
BUMPER_ANNOUNCE_IP: "10.0.100.3"
|
||||
PUID: 1000
|
||||
PGID: 1000
|
||||
TZ: America/Toronto
|
||||
BUMPER_LISTEN: 0.0.0.0
|
||||
|
||||
volumes:
|
||||
data:
|
||||
type: nfs-provider
|
||||
size: 200Mi
|
||||
certs:
|
||||
type: nfs-provider
|
||||
size: 50Mi
|
||||
|
||||
secrets:
|
||||
immich-shared:
|
||||
- name: DB_USERNAME
|
||||
aliases:
|
||||
- POSTGRES_USER
|
||||
value: immich
|
||||
- name: DB_DATABASE_NAME
|
||||
aliases:
|
||||
- POSTGRES_DB
|
||||
value: immich
|
||||
- name: DB_HOSTNAME
|
||||
value: database
|
||||
- name: REDIS_HOSTNAME
|
||||
value: redis
|
||||
|
||||
externalSecrets:
|
||||
generators:
|
||||
db-password:
|
||||
length: 16
|
||||
digits: 5
|
||||
symbols: 5
|
||||
symbolCharacters: "-_$@"
|
||||
noUpper: false
|
||||
allowRepeat: true
|
||||
secrets:
|
||||
db-password:
|
||||
refreshPolicy: "CreatedOnce"
|
||||
target:
|
||||
name: immich-shared
|
||||
creationPolicy: Merge
|
||||
deletionPolicy: Merge
|
||||
template:
|
||||
engineVersion: v2
|
||||
data:
|
||||
POSTGRES_PASSWORD: "{{`{{.password}}`}}"
|
||||
DB_PASSWORD: "{{`{{.password}}`}}"
|
||||
dataFrom:
|
||||
- sourceRef:
|
||||
generatorRef:
|
||||
apiVersion: generators.external-secrets.io/v1alpha1
|
||||
kind: Password
|
||||
name: "db-password"
|
||||
ingress:
|
||||
enabled: true
|
||||
prefix: immich
|
||||
service: immich-server
|
||||
port: 2283
|
||||
Reference in new issue
Block a user