-
-
Notifications
You must be signed in to change notification settings - Fork 347
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: dockerfile and docker compose example (#390)
Co-authored-by: Thomas Aidan Curran <[email protected]>
- Loading branch information
Showing
27 changed files
with
461 additions
and
66 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 |
---|---|---|
|
@@ -2,4 +2,4 @@ node_modules/ | |
.idea/ | ||
coverage.txt | ||
vendor/ | ||
*-packr.go | ||
pkged.go |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"$ref": "./config.schema.json#/definitions/namespace", | ||
"description": "This schema is just to work around the limitation of some IDEs to support json schema paths." | ||
} |
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,41 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"type": "object", | ||
"additionalProperties": false, | ||
"required": ["namespace", "relation", "object", "subject"], | ||
"properties": { | ||
"$schema": { | ||
"type": "string", | ||
"format": "uri-reference", | ||
"description": "Add this to allow defining the schema, useful for IDE integration" | ||
}, | ||
"namespace": { | ||
"type": "string", | ||
"description": "The namespace of the object and relation in this tuple." | ||
}, | ||
"relation": { | ||
"type": "string", | ||
"description": "The relation of the object and subject." | ||
}, | ||
"object": { | ||
"type": "string", | ||
"description": "The object affected by this relation." | ||
}, | ||
"subject": { | ||
"oneOf": [ | ||
{ | ||
"type": "string", | ||
"pattern": "^.*:.*#.*$", | ||
"description": "The subject set affected by this relation. Uses the encoding of \"<namespace>:<object>#<relation>\"." | ||
}, | ||
{ | ||
"type": "string", | ||
"description": "The subject affected by this relation. Use \"<namespace>:<object>#<relation>\" to describe a subject set.", | ||
"not": { | ||
"pattern": "^.*:.*#.*$" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} |
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
Oops, something went wrong.