version: '3.8' networks: blinko-network: driver: bridge services: postgres: image: postgres:16-alpine container_name: blinko-postgres restart: unless-stopped environment: POSTGRES_DB: postgres POSTGRES_USER: postgres POSTGRES_PASSWORD: zZ8o3NahfCmXMzBLN # ← This is your current password volumes: - postgres_data:/var/lib/postgresql/data healthcheck: test: ["CMD", "pg_isready", "-U", "postgres", "-d", "postgres"] interval: 5s timeout: 10s retries: 5 networks: - blinko-network blinko: image: blinkospace/blinko:latest container_name: blinko restart: unless-stopped environment: NODE_ENV: production NEXTAUTH_URL: http://192.168.1.155:1111 NEXT_PUBLIC_BASE_URL: http://192.168.1.155:1111 NEXTAUTH_SECRET: 0543c607f3616eed8296e9dd62e3fc1eb5a077cd3ddd9618620a0c343b3601c7 DATABASE_URL: postgresql://postgres:zZ8o3NahfCmXMzBLN@postgres:5432/postgres ports: - "1111:1111" volumes: - blinko_data:/app/.blinko depends_on: postgres: condition: service_healthy networks: - blinko-network healthcheck: test: ["CMD", "curl", "-f", "http://localhost:1111/"] interval: 30s timeout: 10s retries: 5 start_period: 30s volumes: postgres_data: blinko_data: