Only copy docker configs for selected apps.

This commit is contained in:
2026-01-18 08:20:56 -08:00
parent b285ad3980
commit 757e244688
2 changed files with 37 additions and 2 deletions

View File

@@ -13,7 +13,11 @@ $(wildcard all-apps/ghost/*) \
$(wildcard all-apps/dozzle/*)
rm -Rf app/
cp -a all-apps app && touch $@
mkdir app/
cp all-apps/app.service app/
cp all-apps/docker-compose.yaml app/
cp all-apps/.env app/
./copy-apps.sh $(apps_config) && touch $@
# compose .env files
# (compose only supports one .env file at the root by default)
@@ -96,7 +100,7 @@ restic-snapshots: $(apps_config) restic-password
.PHONY: archive
archive:
tar -cf nassella-latest.tar all-apps cl.yaml init-restic.sh main.tf make-caddyfile.sh Makefile \
make-generated.sh make-nextcloud-env.sh make-ghost-env.sh make-restic-generated.sh make-restic-password.sh restic-snapshots.sh \
make-generated.sh make-nextcloud-env.sh make-ghost-env.sh make-restic-generated.sh make-restic-password.sh restic-snapshots.sh copy-apps.sh \
.terraform .terraform.lock.hcl
cp nassella-latest.tar src/