feat: update environment variables in docker-compose and .env.example
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
NUXT_SITE_URL=http://localhost:3000
|
||||
NUXT_PUBLIC_URL=http://localhost:3000
|
||||
NUXT_PUBLIC_API=http://localhost:5555
|
||||
|
||||
+8
-7
@@ -2,12 +2,13 @@ services:
|
||||
visione-frontend:
|
||||
build:
|
||||
context: .
|
||||
# args:
|
||||
# NUXT_SITE_URL: "http://localhost:3000"
|
||||
# ports:
|
||||
# - "5999:80"
|
||||
args:
|
||||
NUXT_SITE_URL: ${NUXT_SITE_URL}
|
||||
NUXT_PUBLIC_URL: ${BUILD_NUXT_PUBLIC_URL}
|
||||
NUXT_PUBLIC_API: ${BUILD_NUXT_PUBLIC_API}
|
||||
environment:
|
||||
NODE_ENV: production
|
||||
NUXT_PUBLIC_URL: "http://localhost:3000"
|
||||
NUXT_PUBLIC_API: "http://localhost:5555"
|
||||
NODE_ENV: ${NODE_ENV:-production}
|
||||
NUXT_SITE_URL: ${NUXT_SITE_URL}
|
||||
NUXT_PUBLIC_URL: ${NUXT_PUBLIC_URL}
|
||||
NUXT_PUBLIC_API: ${NUXT_PUBLIC_API}
|
||||
restart: always
|
||||
Reference in New Issue
Block a user