Update aliasvault dev db docker name (#2166)

This commit is contained in:
Leendert de Borst
2026-06-14 00:15:00 +02:00
parent ebde6ce671
commit c84f2fc32e
2 changed files with 13 additions and 11 deletions

View File

@@ -103,11 +103,10 @@ EXPO_PORT=$(( BLOCK_BASE + 4 ))
# remember. Offsets 5..8 are left free as spare slots inside the block.
DB_PORT=$(( BLOCK_BASE + 9 ))
if [ "$AV_INSTANCE" = "0" ]; then
DB_PROJECT="aliasvault-dev"
else
DB_PROJECT="aliasvault-dev-$AV_INSTANCE"
fi
# Always one dev DB container, named 'aliasvault-dev'. AV_INSTANCE only shifts
# the published port (above), not the container identity — so install.sh and any
# other tooling can find it by a single, stable project name.
DB_PROJECT="aliasvault-dev"
DB_COMPOSE="$ROOT_DIR/dockerfiles/docker-compose.dev.yml"
CONN_STR="Host=localhost;Port=$DB_PORT;Database=aliasvault;Username=aliasvault;Password=password;Maximum Pool Size=20;Minimum Pool Size=1"