feat: Add Aspirant theme and preview deployment config

This commit is contained in:
fullsizemalt 2026-01-08 01:16:41 -08:00
parent da32c67300
commit b39cd90cf1
2 changed files with 16 additions and 1 deletions

View file

@ -124,6 +124,7 @@ JWT_SECRET=${JWT_SECRET}
# Environment
NODE_ENV=production
PORT=${PORT}
EOF"
echo -e "${GREEN}✓ Environment file created${NC}"
echo -e "${YELLOW}IMPORTANT: New secrets generated on $HOST.${NC}"
@ -143,7 +144,11 @@ ssh "$USER@$HOST" "
docker compose build
echo ' Starting services...'
docker compose up -d
if [ "$ENV" = "preview" ]; then
docker compose -f docker-compose.yml -f docker-compose.preview.yml up -d --build
else
docker compose up -d --build
fi
"
echo -e "${GREEN}✓ Services deployed${NC}"
echo ""

View file

@ -0,0 +1,10 @@
version: '3.8'
services:
frontend:
ports:
- "${PORT}:80"
labels:
- "traefik.enable=false"
go2rtc:
labels:
- "traefik.enable=false"