Testing on dev3

This commit is contained in:
Michał Leszczyk 2022-05-25 07:35:52 +02:00
parent 599bdc1338
commit ecadc58a44
No known key found for this signature in database
GPG Key ID: FA123CA8BAA2FBF4
2 changed files with 31 additions and 31 deletions

View File

@ -21,8 +21,8 @@ services:
accounts: accounts:
# uncomment "build" and comment out "image" to build from sources # uncomment "build" and comment out "image" to build from sources
# build: https://github.com/SkynetLabs/skynet-accounts.git#main build: https://github.com/SkynetLabs/skynet-accounts.git#main
image: skynetlabs/skynet-accounts:1.1.0 # image: skynetlabs/skynet-accounts:1.1.0
container_name: accounts container_name: accounts
restart: unless-stopped restart: unless-stopped
logging: *default-logging logging: *default-logging
@ -56,10 +56,10 @@ services:
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
@ -80,25 +80,25 @@ services:
# 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
# ============================================================ # ============================================================
# dashboard-v2: dashboard-v2:
# build: build:
# context: ./packages/dashboard-v2 context: ./packages/dashboard-v2
# dockerfile: Dockerfile dockerfile: Dockerfile
# container_name: dashboard-v2 container_name: dashboard-v2
# restart: unless-stopped restart: unless-stopped
# logging: *default-logging logging: *default-logging
# env_file: env_file:
# - .env - .env
# environment: environment:
# - GATSBY_PORTAL_DOMAIN=${PORTAL_DOMAIN} - GATSBY_PORTAL_DOMAIN=${PORTAL_DOMAIN}
# - GATSBY_STRIPE_PUBLISHABLE_KEY=${STRIPE_PUBLISHABLE_KEY} - GATSBY_STRIPE_PUBLISHABLE_KEY=${STRIPE_PUBLISHABLE_KEY}
# volumes: volumes:
# - ./docker/data/dashboard-v2/.cache:/usr/app/.cache - ./docker/data/dashboard-v2/.cache:/usr/app/.cache
# - ./docker/data/dashboard-v2/public:/usr/app/public - ./docker/data/dashboard-v2/public:/usr/app/public
# networks: networks:
# shared: shared:
# ipv4_address: 10.10.10.86 ipv4_address: 10.10.10.86
# expose: expose:
# - 9000 - 9000
# depends_on: depends_on:
# - mongo - mongo

View File

@ -4,9 +4,9 @@ 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 /v2 {
# proxy_pass http://dashboard-v2:9000; proxy_pass http://dashboard-v2:9000;
# } }
location / { location / {
proxy_pass http://dashboard:3000; proxy_pass http://dashboard:3000;