Initial commit
This commit is contained in:
commit
f45881dc88
161 files changed
+21597
No files matched your search
@@ -0,0 +1,37 @@
|
||||
#!/bin/bash
|
||||
# Fix port conflicts and start containers
|
||||
set -e
|
||||
|
||||
# Remove old redis container that might block port 6380
|
||||
cd /root/velobase-harness
|
||||
docker rm -f velobase-harness-redis-1 2>/dev/null || true
|
||||
|
||||
# Write new .env
|
||||
cat > .env << 'ENVEOF'
|
||||
NEXT_PUBLIC_APP_ENV=dev
|
||||
NEXT_PUBLIC_APP_NAME=Velobase
|
||||
NEXT_PUBLIC_SUPPORT_EMAIL=admin@example.com
|
||||
NEXT_PUBLIC_DISABLE_TEST_LOGIN=true
|
||||
APP_URL=http://210.16.161.214:3000
|
||||
SERVICE_MODE=web,worker
|
||||
NEXTAUTH_SECRET=velobase-dev-secret-key-change-in-prod
|
||||
AUTH_URL=http://210.16.161.214:3000
|
||||
DATABASE_URL=postgresql://velobase:velobase@localhost:5433/velobase
|
||||
POSTGRES_PORT=5433
|
||||
REDIS_URL=redis://localhost:6381
|
||||
REDIS_PORT=6381
|
||||
SKIP_MIGRATION=false
|
||||
MIGRATION_OPTIONAL=false
|
||||
SKIP_SEED=true
|
||||
SEED_OPTIONAL=true
|
||||
ENVEOF
|
||||
|
||||
echo ".env updated"
|
||||
cat .env
|
||||
|
||||
echo ""
|
||||
echo "Starting containers..."
|
||||
docker compose up -d postgres redis 2>&1
|
||||
|
||||
echo ""
|
||||
docker compose ps 2>&1
|
||||
Reference in new issue
Block a user