environment variable added: URL_APP

This commit is contained in:
ray 2019-02-26 13:09:24 +02:00
parent 0d5dd454e0
commit 40c929a0c6
3 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -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,
},
/*

View File

@ -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: