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