Skip to content

Commit

Permalink
added edgehwdiscovery service deployment code
Browse files Browse the repository at this point in the history
  • Loading branch information
Soufiane Jounaid committed Apr 1, 2024
1 parent 9483e70 commit 5ac8684
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
16 changes: 13 additions & 3 deletions .env.sample
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Chameleon Environment Variables
#
#
# This file is used by docker-compose to set and pass
# environment variables into the container(s) that make
# up the chameleon portal deployment.
#
#
# Make a copy of this file called '.env' and
# fill in the appropriate values below.

Expand All @@ -14,6 +14,7 @@ NODE_VER=lts
PORTAL_PORT=8888
DOCKER_REGISTRY=docker.chameleoncloud.org
DOCKER_IMAGE_LATEST=docker.chameleoncloud.org/portal:latest
EDGEHWDISCOVERY_TAG=ghcr.io/chameleoncloud/edge-hw-discovery:latest
DJANGO_LOG_LEVEL="DEBUG"
DJANGO_SQL_LEVEL="INFO"
DJANGO_LOG_VERBOSITY="SHORT" #SHORT/VERBOSE
Expand Down Expand Up @@ -97,4 +98,13 @@ LOGOUT_REDIRECT_URL=https://auth.dev.chameleoncloud.org/auth/realms/chameleon/pr

# Publication APIs
SEMANTIC_SCHOLAR_API_KEY=
SCRAPER_API_KEY=
SCRAPER_API_KEY=

# Edge HW discovery app credential
EDGE_OS_AUTH_TYPE=v3applicationcredential
EDGE_OS_AUTH_URL=https://chi.edge.chameleoncloud.org:5000/v3
EDGE_OS_IDENTITY_API_VERSION=3
EDGE_OS_REGION_NAME="CHI@Edge"
EDGE_OS_INTERFACE=public
EDGE_OS_APPLICATION_CREDENTIAL_ID=<grab this from chi@edge keystone>
EDGE_OS_APPLICATION_CREDENTIAL_SECRET=<grab this from chi@edge keystone>
3 changes: 1 addition & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,8 @@ services:
depends_on:
- mysql
- redis
restart: always
vue:
image: node:lts
image: node:16.20.2
command: sh -c 'yarn && yarn serve'
working_dir: /project
volumes:
Expand Down

0 comments on commit 5ac8684

Please sign in to comment.