-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
47687cb
commit 347a850
Showing
3 changed files
with
51 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
version: '2' | ||
# networks: | ||
# default: | ||
# external: | ||
# name: nginx-proxy | ||
|
||
services: | ||
# nginx-proxy: | ||
# image: jwilder/nginx-proxy | ||
# container_name: nginx-proxy | ||
# ports: | ||
# - "80:80" | ||
# volumes: | ||
# - ../volumes/certs/:/etc/nginx/certs:ro # Cerificares for all Required Domains must be in this Directory | ||
# - /etc/nginx/vhost.d | ||
# - /usr/share/nginx/html | ||
# - /var/run/docker.sock:/tmp/docker.sock:ro | ||
|
||
frontend: | ||
image: "${DOCKER_IMAGE}:${DOCKER_TAG}" | ||
container_name: frontend | ||
|
||
environment: | ||
# VIRTUAL_HOST: api.dev.cncf.ci | ||
# VIRTUAL_PORT: 80 | ||
# VIRTUAL_PROTO: http | ||
API_URL: "${API_URL}" | ||
NODE_PORT: 8080 | ||
NODE_HOST: 0.0.0.0 | ||
ports: | ||
- "${PORT}:8080" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,4 @@ | |
cd /dashboard | ||
./bin/create_env_js | ||
|
||
HOST=0.0.0.0 PORT=8080 npm run dev | ||
HOST=$NODE_HOST PORT=$NODE_PORT npm run dev |