Skip to content

Commit

Permalink
fix: Proper check for standalone container
Browse files Browse the repository at this point in the history
Signed-off-by: Julius Härtl <jus@bitgrid.net>
  • Loading branch information
juliusknorr committed Jul 18, 2024
1 parent d0cd17b commit cf972bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/bin/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ check_source() {
output "Server source is mounted, continuing"
else
# Only autoinstall when not running in docker compose
if [ -n "$NEXTCLOUD_AUTOINSTALL_APPS" ] && [ ! -f "$WEBROOT"/config/version.php ]
if [ -n "$VIRTUAL_HOST" ] && [ ! -f "$WEBROOT"/version.php ]
then
output "======================================================================================="
output " 🚨 Could not find a valid Nextcloud source in $WEBROOT "
Expand Down

0 comments on commit cf972bd

Please sign in to comment.