@@ -172,12 +172,13 @@ services:
|
|||||||
katenary.v3/ingress: |-
|
katenary.v3/ingress: |-
|
||||||
hostname: myapp.example.com
|
hostname: myapp.example.com
|
||||||
port: 80
|
port: 80
|
||||||
|
# make adaptations, DB_HOST environment is actually the service name
|
||||||
katenary.v3/map-env: |-
|
katenary.v3/map-env: |-
|
||||||
# make adaptations, DB_HOST environment is actually the service name
|
|
||||||
DB_HOST: '{{ .Release.Name }}-database'
|
DB_HOST: '{{ .Release.Name }}-database'
|
||||||
|
# get the values from the "database" service
|
||||||
|
# this will use the database secrets and environment,
|
||||||
|
# see the "database" service to see the values
|
||||||
katenary.v3/values-from: |-
|
katenary.v3/values-from: |-
|
||||||
# get the values from the "database" service
|
|
||||||
# this will use the databas secret, see below
|
|
||||||
DB_USER: databse.MARIADB_USER
|
DB_USER: databse.MARIADB_USER
|
||||||
DB_PASSWORD: database.MARIADB_PASSWORD
|
DB_PASSWORD: database.MARIADB_PASSWORD
|
||||||
|
|
||||||
|
@@ -338,9 +338,9 @@
|
|||||||
MARIADB_USER: myuser
|
MARIADB_USER: myuser
|
||||||
MARIADB_PASSWORD: mypassword
|
MARIADB_PASSWORD: mypassword
|
||||||
labels:
|
labels:
|
||||||
# it can be a secret
|
# we can declare secrets
|
||||||
{{ .KatenaryPrefix }}/secrets: |-
|
{{ .KatenaryPrefix }}/secrets: |-
|
||||||
- DB_PASSWORD
|
- MARIADB_PASSWORD
|
||||||
php:
|
php:
|
||||||
image: php:7.4-fpm
|
image: php:7.4-fpm
|
||||||
environment:
|
environment:
|
||||||
|
Reference in New Issue
Block a user