wip
This commit is contained in:
parent
bbc598ddf7
commit
a4709cd6af
|
@ -54,29 +54,29 @@ services:
|
|||
depends_on:
|
||||
- mongo
|
||||
|
||||
dashboard:
|
||||
# uncomment "build" and comment out "image" to build from sources
|
||||
build:
|
||||
context: https://github.com/SkynetLabs/skynet-webportal.git#master
|
||||
dockerfile: ./packages/dashboard/Dockerfile
|
||||
# image: skynetlabs/dashboard
|
||||
container_name: dashboard
|
||||
restart: unless-stopped
|
||||
logging: *default-logging
|
||||
env_file:
|
||||
- .env
|
||||
environment:
|
||||
- NEXT_PUBLIC_PORTAL_DOMAIN=${PORTAL_DOMAIN}
|
||||
- NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=${STRIPE_PUBLISHABLE_KEY}
|
||||
volumes:
|
||||
- ./docker/data/dashboard/.next:/usr/app/.next
|
||||
networks:
|
||||
shared:
|
||||
ipv4_address: 10.10.10.85
|
||||
expose:
|
||||
- 3000
|
||||
depends_on:
|
||||
- mongo
|
||||
# dashboard:
|
||||
# # uncomment "build" and comment out "image" to build from sources
|
||||
# build:
|
||||
# context: https://github.com/SkynetLabs/skynet-webportal.git#master
|
||||
# dockerfile: ./packages/dashboard/Dockerfile
|
||||
# # image: skynetlabs/dashboard
|
||||
# container_name: dashboard
|
||||
# restart: unless-stopped
|
||||
# logging: *default-logging
|
||||
# env_file:
|
||||
# - .env
|
||||
# environment:
|
||||
# - NEXT_PUBLIC_PORTAL_DOMAIN=${PORTAL_DOMAIN}
|
||||
# - NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=${STRIPE_PUBLISHABLE_KEY}
|
||||
# volumes:
|
||||
# - ./docker/data/dashboard/.next:/usr/app/.next
|
||||
# networks:
|
||||
# shared:
|
||||
# ipv4_address: 10.10.10.85
|
||||
# expose:
|
||||
# - 3000
|
||||
# depends_on:
|
||||
# - mongo
|
||||
|
||||
# Do not build dashboard-v2 until we're ready to make a switch
|
||||
# ============================================================
|
||||
|
|
|
@ -4,13 +4,13 @@ include /etc/nginx/conf.d/include/ssl-settings;
|
|||
include /etc/nginx/conf.d/include/init-optional-variables;
|
||||
|
||||
# Uncomment to launch new Dashboard under /v2 path
|
||||
location /v2 {
|
||||
location / {
|
||||
proxy_pass http://dashboard-v2:9000;
|
||||
}
|
||||
|
||||
location / {
|
||||
proxy_pass http://dashboard:3000;
|
||||
}
|
||||
#location / {
|
||||
# proxy_pass http://dashboard:3000;
|
||||
#}
|
||||
|
||||
location /health {
|
||||
proxy_pass http://accounts:3000;
|
||||
|
|
Reference in New Issue