16 lines
755 B
Makefile
16 lines
755 B
Makefile
IMAGE_DEPS := $(IMAGE_DEPS) \
|
|
app/authelia/postgres_db \
|
|
app/authelia/postgres_user \
|
|
app/authelia/postgres_password \
|
|
app/authelia/authelia-config/configuration.yml
|
|
|
|
app/authelia/postgres_db: $(apps_config)
|
|
bash -c 'source ./$(apps_config); printf "%s\n" "$$AUTHELIA_POSTGRES_DB" > $@'
|
|
app/authelia/postgres_user: $(apps_config)
|
|
bash -c 'source ./$(apps_config); printf "%s\n" "$$AUTHELIA_POSTGRES_USER" > $@'
|
|
app/authelia/postgres_password: $(apps_config)
|
|
bash -c 'source ./$(apps_config); printf "%s\n" "$$AUTHELIA_POSTGRES_PASSWORD" > $@'
|
|
app/authelia/authelia-config/configuration.yml: $(apps_config) app/authelia/authelia-config/configuration.yml.tmpl \
|
|
app/authelia/make-authelia-config.sh
|
|
./app/authelia/make-authelia-config.sh $(apps_config)
|