This repository was archived by the owner on Mar 27, 2023. It is now read-only.
File tree 4 files changed +12
-24
lines changed
documentation/docs/topics/minikube
4 files changed +12
-24
lines changed Original file line number Diff line number Diff line change @@ -15,9 +15,7 @@ ADD backend/ /code/
15
15
16
16
# build stage that generates quasar assets
17
17
FROM node:10-alpine as build-stage
18
- ENV HTTP_PROTOCOL http
19
- ENV WS_PROTOCOL ws
20
- ENV DOMAIN_NAME localhost:9000
18
+ ENV FULL_DOMAIN_NAME localhost:9000
21
19
WORKDIR /app/
22
20
COPY quasar/package.json /app/
23
21
RUN npm cache verify
@@ -43,9 +41,9 @@ RUN npm -v
43
41
44
42
# cypress dependencies
45
43
RUN apt-get -qq install -y xvfb \
46
- libgtk-3-dev \
47
- libnotify-dev \
48
- libgconf-2-4 \
49
- libnss3 \
50
- libxss1 \
51
- libasound2
44
+ libgtk-3-dev \
45
+ libnotify-dev \
46
+ libgconf-2-4 \
47
+ libnss3 \
48
+ libxss1 \
49
+ libasound2
Original file line number Diff line number Diff line change 1
- version : ' 3.7'
1
+ version : " 3.7"
2
2
3
3
services :
4
-
5
4
frontend :
6
5
image : frontend:2
7
6
build :
8
7
context : ../
9
8
dockerfile : nginx/minikube/Dockerfile
10
9
args :
11
- - DOMAIN_NAME =minikube.local
10
+ - FULL_DOMAIN_NAME =minikube.local
12
11
- GOOGLE_OAUTH2_KEY=google123
13
12
- GITHUB_KEY=github123
14
- - WS_PROTOCOL=ws
15
- - HTTP_PROTOCOL=http
16
13
17
14
backend :
18
15
image : backend:1
19
16
build :
20
17
context : ../backend/
21
18
dockerfile : scripts/dev/Dockerfile
22
-
Original file line number Diff line number Diff line change @@ -775,11 +775,9 @@ services:
775
775
context: ../
776
776
dockerfile: nginx/minikube/Dockerfile
777
777
args:
778
- - DOMAIN_NAME =minikube.local
778
+ - FULL_DOMAIN_NAME =minikube.local
779
779
- GOOGLE_OAUTH2_KEY=google123
780
780
- GITHUB_KEY=github123
781
- - WS_PROTOCOL=ws
782
- - HTTP_PROTOCOL=http
783
781
```
784
782
785
783
Make sure that your current shell has the correct environment variables set for the ` DOCKER_HOST ` by running:
Original file line number Diff line number Diff line change 1
1
# build stage
2
2
FROM node:10-alpine as build-stage
3
- ARG DOMAIN_NAME
3
+ ARG FULL_DOMAIN_NAME
4
4
ARG GOOGLE_OAUTH2_KEY
5
5
ARG GITHUB_KEY
6
- ARG WS_PROTOCOL
7
- ARG HTTP_PROTOCOL
8
6
9
- ENV DOMAIN_NAME =${DOMAIN_NAME}
7
+ ENV FULL_DOMAIN_NAME =${DOMAIN_NAME}
10
8
ENV GOOGLE_OAUTH2_KEY=${GOOGLE_OAUTH2_KEY}
11
9
ENV GITHUB_KEY=${GITHUB_KEY}
12
- ENV WS_PROTOCOL=${WS_PROTOCOL}
13
- ENV HTTP_PROTOCOL=${HTTP_PROTOCOL}
14
10
15
11
WORKDIR /app/
16
12
COPY quasar/package.json /app/
You can’t perform that action at this time.
0 commit comments