diff --git a/.env-production b/.env-production index 15dcb40..15abb3f 100644 --- a/.env-production +++ b/.env-production @@ -1,4 +1,5 @@ URL_INTERNAL=127.0.0.1 URL_CMS=https://cms.marcleopold.isnet.uk +URL_APP=https://marcleopold.isnet.uk PORT_APP=3003 PORT_CMS=3004 diff --git a/app/nuxt.config.js b/app/nuxt.config.js index d3ac527..90ad8ba 100644 --- a/app/nuxt.config.js +++ b/app/nuxt.config.js @@ -85,6 +85,7 @@ module.exports = { only: [ 'URL_INTERNAL', 'URL_CMS', + 'URL_APP', 'PORT_APP', 'PORT_CMS', ], @@ -102,13 +103,14 @@ module.exports = { // See https://github.com/nuxt-community/axios-module#options proxy: true, baseURL: process.env.URL_CMS, - browserBaseURL: 'https://marcleopold.isnet.uk', + browserBaseURL: process.env.URL_APP, debug: true, }, proxy: { '/api/v1/': 'https://cms.marcleopold.isnet.uk', // '/api/v1/': process.env.URL_CMS, + // '/api/v1/': process.env.URL_CMS, }, /* diff --git a/docker-compose.yml b/docker-compose.yml index 149b7b0..629f966 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -10,6 +10,7 @@ services: environment: - URL_INTERNAL=${URL_INTERNAL} - URL_CMS=${URL_CMS} + - URL_APP=${URL_APP} - PORT_APP=${PORT_APP} - PORT_CMS=${PORT_CMS} command: