volumes: music_downloads: {} # These 2 are just for "nuxtjs-launcher" # If you use a normal nodejs build image, you don't need them nuxt_internal: {} nuxt_server: {} networks: api_nuxt: driver: "bridge" #bridge: # external: true # Allow LAN access services: fastapi: build: context: . dockerfile: Dockerfile.fastapi networks: - api_nuxt #- bridge # allow external access volumes: - music_downloads:/tmp/downloads environment: - MYSQL_HOST=host.docker.internal - MYSQL_USER=yt2mp3_nuxt - MYSQL_DB=yt2mp3_nuxt - MYSQL_PASSWORD=JJ7ZEyDm!XAGFb_z nuxt: #build: # context: . # dockerfile: Dockerfile.nuxt image: nuxtjs-launcher networks: - api_nuxt ports: - "64002:3030" # just for the admin GUI - "6903:3000" environment: - FASTAPI_URL=http://fastapi:8000 - DOWNLOAD_FOLDER=/tmp/downloads - NUXT_SESSION_PASSWORD=bc7d4da7d5f64d47aa75da92bed68cd8 volumes: - music_downloads:/tmp/downloads # These 3 are just for "nuxtjs-launcher" - ./:/app - nuxt_server:/server - nuxt_internal:/internal