jellytau/docker-compose.yml
Duncan Tourolle 544ea43a84 Fix Android navigation and improve UI responsiveness
- Convert music category buttons from <button> to native <a> links for better Android compatibility
- Convert artist/album nested buttons in TrackList to <a> links to fix HTML validation issues
- Add event handlers with proper stopPropagation to maintain click behavior
- Increase library overview card sizes from medium to large (50% bigger)
- Increase thumbnail sizes in list view from 10x10 to 16x16
- Add console logging for debugging click events on mobile
- Remove preventDefault() handlers that were blocking Android touch events

These changes resolve navigation issues on Android devices where buttons weren't responding to taps. Native <a> links provide better cross-platform compatibility and allow SvelteKit to handle navigation more reliably.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-01-27 16:04:57 +01:00

63 lines
1.4 KiB
YAML

version: '3.8'
services:
# Test service - runs tests only
test:
build:
context: .
dockerfile: Dockerfile
target: test
container_name: jellytau-test
volumes:
- .:/app
environment:
- RUST_BACKTRACE=1
command: bash -c "bun test && cd src-tauri && cargo test && cd .. && echo 'All tests passed!'"
# Android build service - builds APK after tests pass
android-build:
build:
context: .
dockerfile: Dockerfile
target: android-build
container_name: jellytau-android-build
volumes:
- .:/app
- android-cache:/root/.cargo
- android-bun-cache:/root/.bun
environment:
- RUST_BACKTRACE=1
- ANDROID_HOME=/opt/android-sdk
depends_on:
- test
ports:
- "5172:5172" # In case you want to run dev server
# Development container - for interactive development
dev:
build:
context: .
dockerfile: Dockerfile
target: builder
container_name: jellytau-dev
volumes:
- .:/app
- cargo-cache:/root/.cargo
- bun-cache:/root/.bun
- node-modules:/app/node_modules
environment:
- RUST_BACKTRACE=1
- ANDROID_HOME=/opt/android-sdk
- NDK_HOME=/opt/android-sdk/ndk/27.0.11902837
working_dir: /app
stdin_open: true
tty: true
command: /bin/bash
volumes:
cargo-cache:
bun-cache:
android-cache:
android-bun-cache:
node-modules: