1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-07-19 04:49:37 +02:00

Update docker-compose to use beta images for frontend and backend services; clean up install script

This commit is contained in:
Sean Morley 2025-05-26 17:14:12 -04:00
parent 4fb25f63fd
commit 5e6d5305cc
2 changed files with 2 additions and 4 deletions

View file

@ -1,6 +1,6 @@
services: services:
web: web:
image: ghcr.io/seanmorley15/adventurelog-frontend:development image: ghcr.io/seanmorley15/adventurelog-frontend:beta
container_name: adventurelog-frontend container_name: adventurelog-frontend
restart: unless-stopped restart: unless-stopped
env_file: .env env_file: .env
@ -18,7 +18,7 @@ services:
- postgres_data:/var/lib/postgresql/data/ - postgres_data:/var/lib/postgresql/data/
server: server:
image: ghcr.io/seanmorley15/adventurelog-backend:development image: ghcr.io/seanmorley15/adventurelog-backend:beta
container_name: adventurelog-backend container_name: adventurelog-backend
restart: unless-stopped restart: unless-stopped
env_file: .env env_file: .env

View file

@ -484,7 +484,6 @@ wait_for_services() {
local max_attempts=30 local max_attempts=30
local attempt=1 local attempt=1
while [ $attempt -le $max_attempts ]; do while [ $attempt -le $max_attempts ]; do
if curl -s -o /dev/null -w "%{http_code}" "$FRONTEND_ORIGIN" | grep -q "200\|404\|302"; then if curl -s -o /dev/null -w "%{http_code}" "$FRONTEND_ORIGIN" | grep -q "200\|404\|302"; then
log_success "Frontend is responding" log_success "Frontend is responding"
@ -511,7 +510,6 @@ print_success_message() {
local ip_address local ip_address
ip_address=$(hostname -I 2>/dev/null | cut -d' ' -f1 || echo "localhost") ip_address=$(hostname -I 2>/dev/null | cut -d' ' -f1 || echo "localhost")
clear
echo "" echo ""
cat << 'EOF' cat << 'EOF'
╔══════════════════════════════════════════════════════════════════════╗ ╔══════════════════════════════════════════════════════════════════════╗