-
Notifications
You must be signed in to change notification settings - Fork 1
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
0 parents
commit 1979081
Showing
8 changed files
with
78 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
NEO4J_URL="neo4j://localhost:7687" | ||
PASSWORD=IAMmeIAMme!1! | ||
NEO4J_AUTH="neo4j/${PASSWORD}" | ||
NEO4J_server_memory_heap_initial__size=12G | ||
NEO4J_server_memory_heap_max__size=16G | ||
NEO4J_server_memory_pagecache_size=12G |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
*.code-workspace | ||
!.vscode/*.json | ||
*.json | ||
.env | ||
dist |
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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
BUILD_FLAGS=-ldflags="-s -w" | ||
OUT_DIR=dist | ||
OUT_PREFIX=iamme | ||
|
||
start: | ||
@if [ ! -f ./.env ]; then\ | ||
cp .env_example .env;\ | ||
fi | ||
docker-compose up -d | ||
|
||
build: | ||
go build ${BUILD_FLAGS} -o ${OUT_PREFIX} | ||
|
||
compile: build | ||
GOOS=freebsd GOARCH=amd64 go build ${BUILD_FLAGS} -o ${OUT_DIR}/${OUT_PREFIX}-freebsd-amd64 | ||
GOOS=linux GOARCH=amd64 go build ${BUILD_FLAGS} -o ${OUT_DIR}/${OUT_PREFIX}-linux-amd64 | ||
GOOS=windows GOARCH=amd64 go build ${BUILD_FLAGS} -o ${OUT_DIR}/${OUT_PREFIX}-windows-amd64 | ||
GOOS=darwin GOARCH=amd64 go build ${BUILD_FLAGS} -o ${OUT_DIR}/${OUT_PREFIX}-darwin-amd64 | ||
GOOS=darwin GOARCH=arm64 go build ${BUILD_FLAGS} -o ${OUT_DIR}/${OUT_PREFIX}-darwin-arm64 | ||
|
||
clean: | ||
@rm -rf ./${OUT_DIR} | ||
@rm -f ./${OUT_PREFIX} | ||
@docker-compose stop | ||
@docker-compose down -v | ||
@docker-compose rm -fv |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# IAMme IAMme | ||
|
||
## ChatGPT definition | ||
|
||
> "IAMme IAMme" seems to be an unusual and distinctive name. It appears to emphasize "IAM," which stands for Identity and Access Management, and could work as a creative and memorable name for a tool related to Okta or similar IAM systems. |
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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
version: "3" | ||
|
||
services: | ||
neo4j: | ||
image: neo4j:latest | ||
hostname: neo4j | ||
container_name: neo4j | ||
ports: | ||
- "7474:7474" | ||
- "7687:7687" | ||
volumes: | ||
- okta_Data:/data | ||
environment: | ||
NEO4J_PLUGINS: '["apoc"]' | ||
NEO4J_AUTH: $NEO4J_AUTH | ||
NEO4J_server_memory_heap_initial__size: ${NEO4J_server_memory_heap_initial__size} | ||
NEO4J_server_memory_heap_max__size: ${NEO4J_server_memory_heap_max__size} | ||
NEO4J_server_memory_pagecache_size: ${NEO4J_server_memory_pagecache_size} | ||
NEO4J_server_jvm_additional: "-XX:+ExitOnOutOfMemoryError" | ||
NEO4J_initial_dbms_default__database: "okta" | ||
NEO4J_dbms_cypher_forbid__shortestpath__common__nodes: "false" | ||
|
||
volumes: | ||
okta_Data: |
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
module IAMme-IAMme | ||
|
||
go 1.20 |
Binary file not shown.
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package main | ||
|
||
import ( | ||
"fmt" | ||
) | ||
|
||
func main() { | ||
fmt.Println("IAMme IAMme") | ||
} |