Skip to content

Commit 02ead50

Browse files
committed
update: フロントエンドへ環境変数を渡すように
1 parent 462f0df commit 02ead50

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
api_data
22
nb_db
3-
toy_db
3+
toy_db
4+
.env

Dockerfile_web

-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ ARG DMCA
2525
ARG API_CSR_ENDPOINT
2626
ARG API_SSR_ENDPOINT
2727
ARG API_CDN_ENDPOINT
28-
ARG CDN_ENDPOINT
2928
ARG PUBLIC_PATH
3029
ENV NODE_ENV production
3130
RUN npm run build

docker-compose.yml

+2
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ services:
2929
PUBLIC_PATH: ${PUBLIC_PATH}
3030
environment:
3131
API_SSR_ENDPOINT: http://nb_api:5000
32+
API_CSR_ENDPOINT: ${API_CSR_ENDPOINT}
33+
API_CDN_ENDPOINT: ${API_CDN_ENDPOINT}
3234
API_SSR_TOKEN: ${API_SSR_TOKEN}
3335
ports:
3436
- ${PORT_WEB}:3000

0 commit comments

Comments
 (0)