sqlite is supported and now default

This commit is contained in:
2026-01-18 19:28:24 +00:00
parent ba11bb0125
commit 3efc733d4a
4 changed files with 60 additions and 35 deletions

View File

@@ -2,14 +2,14 @@ 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: {}
#nuxt_internal: {}
#nuxt_server: {}
networks:
api_nuxt:
driver: "bridge"
bridge:
external: true # Allow LAN access
#bridge:
# external: true # Allow LAN access
services:
fastapi:
build:
@@ -17,20 +17,17 @@ services:
dockerfile: Dockerfile.fastapi
networks:
- api_nuxt
- bridge # allow external access
#- bridge # allow external access
volumes:
- music_downloads:/tmp/downloads
environment:
- MYSQL_HOST=172.17.0.1
- MYSQL_USER=yt2mp3_nuxt
- MYSQL_DB=yt2mp3_nuxt
- MYSQL_PASSWORD=JJ7ZEyDm!XAGFb_z
- DB_MODE=sqlite
nuxt:
#build:
# context: .
# dockerfile: Dockerfile.nuxt
image: nuxtjs-launcher
build:
context: .
dockerfile: Dockerfile.nuxt
#image: nuxtjs-launcher
networks:
- api_nuxt
ports:
@@ -43,8 +40,8 @@ services:
volumes:
- music_downloads:/tmp/downloads
# These 3 are just for "nuxtjs-launcher"
- ./:/app
- nuxt_server:/server
- nuxt_internal:/internal
# - ./:/app
#- nuxt_server:/server
#- nuxt_internal:/internal