set new domain in configs
parent
c75bf4f9fe
commit
7944369541
4
.env
4
.env
|
@ -1,9 +1,9 @@
|
|||
#REACT_APP_IDENTITY_AUTHENTICATION_URL=http://localhost:5063/identity/authenticate?UserName={username}&Password={password}
|
||||
|
||||
REACT_APP_IDENTITY_AUTHENTICATION_URL=https://toodle.ddns.net/identity-server-api/identity/authenticate?UserName={username}&Password={password}
|
||||
REACT_APP_IDENTITY_AUTHENTICATION_URL=https://lab.code-rove.com/identity-server-api/identity/authenticate?UserName={username}&Password={password}
|
||||
REACT_APP_NETWORK_RESURRECTOR_API_URL=http://localhost:5064
|
||||
#REACT_APP_NETWORK_RESURRECTOR_SERVER_URL=http://localhost:5062
|
||||
#REACT_APP_NETWORK_RESURRECTOR_SERVER_URL=https://toodle.ddns.net/network-resurrector-server-api
|
||||
#REACT_APP_NETWORK_RESURRECTOR_SERVER_URL=https://lab.code-rove.com/network-resurrector-server-api
|
||||
|
||||
#600000 milliseconds = 10 minutes
|
||||
REACT_APP_MACHINE_PING_INTERVAL=600000
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
PUBLIC_URL=/network-resurrector/
|
||||
REACT_APP_IDENTITY_AUTHENTICATION_URL=https://toodle.ddns.net/identity-server-api/identity/authenticate?UserName={username}&Password={password}
|
||||
REACT_APP_NETWORK_RESURRECTOR_API_URL=https://toodle.ddns.net/network-resurrector-api
|
||||
REACT_APP_IDENTITY_AUTHENTICATION_URL=https://lab.code-rove.com/identity-server-api/identity/authenticate?UserName={username}&Password={password}
|
||||
REACT_APP_NETWORK_RESURRECTOR_API_URL=https://lab.code-rove.com/network-resurrector-api
|
||||
|
||||
#900000 milliseconds = 15 minutes
|
||||
REACT_APP_MACHINE_PING_INTERVAL=900000
|
||||
|
|
2
.npmrc
2
.npmrc
|
@ -1 +1 @@
|
|||
@flare:registry=https://toodle.ddns.net/public-node-registry
|
||||
@flare:registry=https://lab.code-rove.com/public-node-registry
|
|
@ -22,6 +22,11 @@ COPY --from=builder /app/build/index.html ./application/
|
|||
#install static server
|
||||
RUN npm install -g serve
|
||||
|
||||
# environment variables
|
||||
ENV AUTHOR="Tudor Stanciu"
|
||||
ARG APP_VERSION=0.0.0
|
||||
ENV APP_VERSION=${APP_VERSION}
|
||||
|
||||
#set workdir to root
|
||||
WORKDIR /
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,11 +1,11 @@
|
|||
{
|
||||
"name": "network-resurrector-frontend",
|
||||
"version": "1.1.0",
|
||||
"version": "1.1.1",
|
||||
"description": "Frontend component of Network resurrector",
|
||||
"author": {
|
||||
"name": "Tudor Stanciu",
|
||||
"email": "tudor.stanciu94@gmail.com",
|
||||
"url": "https://toodle.ddns.net/tsp"
|
||||
"url": "https://lab.code-rove.com/tsp"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
|
|
@ -5,7 +5,7 @@ version="1.1.0"
|
|||
registryPass="***********"
|
||||
|
||||
echo "Create docker image with version $version."
|
||||
docker image build -t "network-resurrector-frontend:$version" .
|
||||
docker image build --build-arg APP_VERSION=$version -t "network-resurrector-frontend:$version" .
|
||||
|
||||
echo "Tag docker image with registry prefix."
|
||||
docker tag network-resurrector-frontend:$version alpine-nexus:8500/network-resurrector/network-resurrector-frontend:$version
|
Loading…
Reference in New Issue