Skip to content

Commit

Permalink
Fix docker compose
Browse files Browse the repository at this point in the history
  • Loading branch information
0xslipk committed Sep 16, 2022
1 parent 0e0f42f commit 144a25d
Show file tree
Hide file tree
Showing 5 changed files with 110 additions and 5 deletions.
21 changes: 21 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
tests/
.github/
coverage/
.circleci/
*.tsbuildinfo
*.js.map
src/
.eslintrc.js
.gitignore
.prettierrc
.travis.yml
tsconfig.build.json
tsconfig.json
.nyc_output/
.nvmrc
.editorconfig
.nycrc
hardhat.config.js
.env.sample
.env
.vscode/
25 changes: 25 additions & 0 deletions CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Lists some code owners.
#
# A codeowner just oversees some part of the codebase. If an owned file is changed then the
# corresponding codeowner receives a review request. An approval of the codeowner might be
# required for merging a PR (depends on repository settings).
#
# For details about syntax, see:
# https://help.github.com/en/articles/about-code-owners
# But here are some important notes:
#
# - Glob syntax is git-like, e.g. `/core` means the core directory in the root, unlike `core`
# which can be everywhere.
# - Multiple owners are supported.
# - Either handle (e.g, @github_user or @github_org/team) or email can be used. Keep in mind,
# that handles might work better because they are more recognizable on GitHub,
# you can use them for mentioning unlike an email.
# - The latest matching rule, if multiple, takes precedence.

* @blockcoders/admins

# CI
/.github/ @blockcoders/admins

# Source Code
/src/ @blockcoders/admins @blockcoders/devs
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2022 blockcoders

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
4 changes: 2 additions & 2 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3.7'
networks:
ink-explorer-network:
external: true

services:
backend:
#image: blockcoders/ink-substrate-explorer-api:latest
Expand All @@ -10,7 +10,7 @@ services:
- postgres
build:
context: .
dockerfile: Dockerfile
dockerfile: dev.Dockerfile
ports:
- 8080:8080
volumes:
Expand Down
44 changes: 41 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
{
"name": "ink-substrate-explorer-api",
"version": "1.0.0-alpha.1",
"description": "",
"author": "",
"private": true,
"description": "Ink Explorer is an application that provides Ink contracts related information on Substrate based blockchains.",
"author": "Blockcoders <engineering@blockcoders.io>",
"license": "MIT",
"readmeFilename": "README.md",
"engineStrict": false,
"engines": {
"node": "^14.x || >=16.x"
},
"publishConfig": {
"access": "public"
},
"scripts": {
"prebuild": "rimraf dist",
"build": "nest build",
Expand Down Expand Up @@ -44,6 +52,36 @@
"lint:ci",
"test:cov"
],
"repository": {
"type": "git",
"url": "git+https://github.com/blockcoders/ink-substrate-explorer-api.git"
},
"keywords": [
"substrate",
"polkadot",
"polkadot-js",
"kusama",
"blockchain",
"nft",
"token",
"erc20",
"trait-erc20",
"erc721",
"trait-erc721",
"erc1155",
"trait-erc1155",
"smart-contracts",
"dot",
"trait",
"ink!",
"ink",
"ink-contract",
"ink-event"
],
"bugs": {
"url": "https://github.com/blockcoders/ink-substrate-explorer-api/issues"
},
"homepage": "https://github.com/blockcoders/ink-substrate-explorer-api#readme",
"dependencies": {
"@fastify/compress": "5.0.0",
"@fastify/helmet": "8.1.0",
Expand Down

0 comments on commit 144a25d

Please sign in to comment.