adjusted vars
This commit is contained in:
@@ -1,9 +1,15 @@
|
||||
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:
|
||||
@@ -11,8 +17,14 @@ services:
|
||||
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:
|
||||
@@ -27,8 +39,12 @@ services:
|
||||
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user