ops: configure new dashboard

This commit is contained in:
Michał Leszczyk 2022-06-01 14:25:21 +02:00
parent 3eded4bb0c
commit 936c1a5cdd
No known key found for this signature in database
GPG Key ID: FA123CA8BAA2FBF4
1 changed files with 5 additions and 30 deletions

View File

@ -66,40 +66,15 @@ services:
env_file:
- .env
environment:
- NEXT_PUBLIC_PORTAL_DOMAIN=${PORTAL_DOMAIN}
- NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=${STRIPE_PUBLISHABLE_KEY}
- GATSBY_PORTAL_DOMAIN=${PORTAL_DOMAIN}
- GATSBY_STRIPE_PUBLISHABLE_KEY=${STRIPE_PUBLISHABLE_KEY}
volumes:
- ./docker/data/dashboard/.next:/usr/app/.next
- ./docker/data/dashboard/.cache:/usr/app/.cache
- ./docker/data/dashboard/public:/usr/app/public
networks:
shared:
ipv4_address: 10.10.10.85
expose:
- 3000
- 9000
depends_on:
- mongo
# Do not build dashboard-v2 until we're ready to make a switch
# ============================================================
# dashboard-v2:
# build:
# context: https://github.com/SkynetLabs/webportal-accounts-dashboard.git#main
# dockerfile: Dockerfile
# image: skynetlabs/webportal-accounts-dashboard@1.0.1
# container_name: dashboard-v2
# restart: unless-stopped
# logging: *default-logging
# env_file:
# - .env
# environment:
# - GATSBY_PORTAL_DOMAIN=${PORTAL_DOMAIN}
# - GATSBY_STRIPE_PUBLISHABLE_KEY=${STRIPE_PUBLISHABLE_KEY}
# volumes:
# - ./docker/data/dashboard-v2/.cache:/usr/app/.cache
# - ./docker/data/dashboard-v2/public:/usr/app/public
# networks:
# shared:
# ipv4_address: 10.10.10.86
# expose:
# - 9000
# depends_on:
# - mongo