Skip to content

Commit

Permalink
add setup.env
Browse files Browse the repository at this point in the history
  • Loading branch information
hippo-an committed Aug 1, 2024
1 parent eefe82e commit 55f4580
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
pkg
conf/*
conf/*.env
conf/setup.env
!conf/setup.env
!conf/setup.sample.env

data/*
Expand Down
16 changes: 16 additions & 0 deletions conf/setup.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
export CBWS_TARGET=${SPIDER_URL:-http://$CBWS_TARGET:1024/spider}
export SPIDER_URL=${SPIDER_URL:-http://$CBWS_TARGET:1024/spider}
export TUMBLE_URL=${TUMBLE_URL:-http://$CBWS_TARGET:1323/tumblebug}
export DRAGONFLY_URL=${DRAGONFLY_URL:-http://$CBWS_TARGET:9090/dragonfly}
export CICADA_URL=${CICADA_URL:-http://$CBWS_TARGET:8083/cicada}
export HONEYBEE_URL=${HONEYBEE_URL:-http://$CBWS_TARGET:8081/honeybee}
export BEETLE_URL=${BEETLE_URL:-http://$CBWS_TARGET:8056/beetle}
export API_GW=${API_GW:-http://$CBWS_TARGET:8000}
export LADYBUG_URL=${LADYBUG_URL:-http://$CBWS_TARGET:1470/ladybug}
export LoginUser=${LoginUser:-admin}
export LoginEmail=${LoginEmail:-admin}
export LoginPassword=${LoginPassword:-admin}
export LoginAccessSecret=${LoginAccessSecret:-admin}
export LoginRefreshSecret=${LoginRefreshSecret:-admin}
export API_USERNAME=${API_USERNAME:-default}
export API_PASSWORD=${API_PASSWORD:-default}

0 comments on commit 55f4580

Please sign in to comment.