services: audiobook-player: image: git.necloud.us/nate/audiobook-player:latest # build: . # uncomment to build locally instead of pulling container_name: audiobook-player restart: unless-stopped ports: - "8080:8080" environment: OPENAUDIBLE_URL: http://172.16.16.106:8000 OPENAUDIBLE_USER: ${OPENAUDIBLE_USER} # put these in a .env file next to this one OPENAUDIBLE_PASSWORD: ${OPENAUDIBLE_PASSWORD} PLAYER_USER: ${PLAYER_USER} # default account, created on first start PLAYER_PASSWORD: ${PLAYER_PASSWORD} EMBED_KEY: ${EMBED_KEY:-} # optional: enables /auto?key=... passwordless sign-in (serve over HTTPS) EMBED_USER: ${EMBED_USER:-} # which account it signs in as (default: first account) volumes: - player-data:/data # accounts, sessions, listening progress volumes: player-data: