24 lines
1.2 KiB
Makefile
24 lines
1.2 KiB
Makefile
|
|
IMAGE_DEPS := $(IMAGE_DEPS) \
|
||
|
|
app/nextcloud/nextcloud_admin_user \
|
||
|
|
app/nextcloud/nextcloud_admin_password \
|
||
|
|
app/nextcloud/postgres_db \
|
||
|
|
app/nextcloud/postgres_user \
|
||
|
|
app/nextcloud/postgres_password \
|
||
|
|
app/nextcloud/redis_password \
|
||
|
|
app/nextcloud/nextcloud.env
|
||
|
|
|
||
|
|
app/nextcloud/nextcloud_admin_user: $(apps_config)
|
||
|
|
bash -c 'source $(apps_config); printf "%s\n" "$$NEXTCLOUD_ADMIN_USER" > $@'
|
||
|
|
app/nextcloud/nextcloud_admin_password: $(apps_config)
|
||
|
|
bash -c 'source $(apps_config); printf "%s\n" "$$NEXTCLOUD_ADMIN_PASSWORD" > $@'
|
||
|
|
app/nextcloud/postgres_db: $(apps_config)
|
||
|
|
bash -c 'source ./$(apps_config); printf "%s\n" "$$NEXTCLOUD_POSTGRES_DB" > $@'
|
||
|
|
app/nextcloud/postgres_user: $(apps_config)
|
||
|
|
bash -c 'source ./$(apps_config); printf "%s\n" "$$NEXTCLOUD_POSTGRES_USER" > $@'
|
||
|
|
app/nextcloud/postgres_password: $(apps_config)
|
||
|
|
bash -c 'source ./$(apps_config); printf "%s\n" "$$NEXTCLOUD_POSTGRES_PASSWORD" > $@'
|
||
|
|
app/nextcloud/redis_password: $(apps_config)
|
||
|
|
bash -c 'source ./$(apps_config); printf "%s\n" "$$NEXTCLOUD_REDIS_PASSWORD" > $@'
|
||
|
|
app/nextcloud/nextcloud.env: $(apps_config) app/nextcloud/nextcloud.env.tmpl app/nextcloud/make-nextcloud-env.sh
|
||
|
|
./app/nextcloud/make-nextcloud-env.sh $(apps_config)
|