feat: update environment variables in docker-compose and .env.example

This commit is contained in:
2026-06-11 00:24:12 +02:00 Unverified
parent 4cfa719bc7
commit e03389f126
2 changed files with 9 additions and 7 deletions
+1
View File
@@ -1,2 +1,3 @@
NUXT_SITE_URL=http://localhost:3000
NUXT_PUBLIC_URL=http://localhost:3000 NUXT_PUBLIC_URL=http://localhost:3000
NUXT_PUBLIC_API=http://localhost:5555 NUXT_PUBLIC_API=http://localhost:5555
+8 -7
View File
@@ -2,12 +2,13 @@ services:
visione-frontend: visione-frontend:
build: build:
context: . context: .
# args: args:
# NUXT_SITE_URL: "http://localhost:3000" NUXT_SITE_URL: ${NUXT_SITE_URL}
# ports: NUXT_PUBLIC_URL: ${BUILD_NUXT_PUBLIC_URL}
# - "5999:80" NUXT_PUBLIC_API: ${BUILD_NUXT_PUBLIC_API}
environment: environment:
NODE_ENV: production NODE_ENV: ${NODE_ENV:-production}
NUXT_PUBLIC_URL: "http://localhost:3000" NUXT_SITE_URL: ${NUXT_SITE_URL}
NUXT_PUBLIC_API: "http://localhost:5555" NUXT_PUBLIC_URL: ${NUXT_PUBLIC_URL}
NUXT_PUBLIC_API: ${NUXT_PUBLIC_API}
restart: always restart: always