-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
31 changed files
with
122 additions
and
212 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
export BUILD_IMAGE=golang:alpine | ||
export GO=go | ||
export IMAGE=docker.io/bahner/go-myspace:latest | ||
export IMAGE=docker.io/bahner/go-space:latest | ||
|
||
# This variable is used to set ports in docker-compose.yaml | ||
export VAULT_DEV_ROOT_TOKEN_ID=myspace | ||
export VAULT_DEV_ROOT_TOKEN_ID=space | ||
export VAULT_PORT=8200 | ||
export VAULT_ADDR=http://localhost:${VAULT_PORT} | ||
export VAULT_TOKEN=${VAULT_DEV_ROOT_TOKEN_ID} | ||
export VAULT_IMAGE=docker.io/hashicorp/vault:latest | ||
|
||
export GO_MYSPACE_ELIXIR_IMAGE=elixir:otp-25-alpine | ||
export GO_MYSPACE_LOG_LEVEL=info | ||
export GO_MYSPACE_MYSPACE_NODE_NAME=myspace@localhost | ||
export GO_MYSPACE_NODE_NAME=pubsub@localhost | ||
export GO_MYSPACE_NODE_PORT=4369 | ||
export GO_MYSPACE_NODE_COOKIE=myspace | ||
export GO_space_ELIXIR_IMAGE=elixir:otp-25-alpine | ||
export GO_space_LOG_LEVEL=info | ||
export GO_space_space_NODE_NAME=space@localhost | ||
export GO_space_NODE_NAME=pubsub@localhost | ||
export GO_space_NODE_PORT=4369 | ||
export GO_space_NODE_COOKIE=space | ||
# This is used inside the container network and | ||
# should use the vault service name ad the host. | ||
export GO_MYSPACE_VAULT_ADDR=http://localhost:${VAULT_PORT} | ||
export GO_MYSPACE_VAULT_TOKEN=${VAULT_DEV_ROOT_TOKEN_ID} | ||
export GO_space_VAULT_ADDR=http://localhost:${VAULT_PORT} | ||
export GO_space_VAULT_TOKEN=${VAULT_DEV_ROOT_TOKEN_ID} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,5 +21,5 @@ | |
go.work | ||
|
||
# Binaries created by go build ., ie the module name. | ||
go-myspace | ||
go-myspace-* | ||
go-space | ||
go-space-* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
GenServer.call({:myspace, :"pubsub@localhost"}, :closet) | ||
GenServer.call({:space, :"pubsub@localhost"}, :closet) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
Start an application and required supervisors in main. Then let the myspace dispatcher and children to that. | ||
Start an application and required supervisors in main. Then let the space dispatcher and children to that. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.