Skip to content

Commit

Permalink
Merge pull request #55 from torusresearch/develop
Browse files Browse the repository at this point in the history
Adds passkey nonce
  • Loading branch information
maneki-admin authored Apr 22, 2024
2 parents 0d2168b + b243f09 commit c77bb28
Show file tree
Hide file tree
Showing 16 changed files with 1,466 additions and 1,275 deletions.
5 changes: 4 additions & 1 deletion .env.development
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,7 @@ NODE_ENV=development
IPFS_HOSTNAME=ipfs
IPFS_PROTOCOL=http
IPFS_PORT=5001
METADATA_ENV=development
METADATA_ENV=development
SENTRY_SAMPLE_RATE=0.1
SENTRY_TRACES_SAMPLE_RATE=0.01
SENTRY_DSN=
6 changes: 3 additions & 3 deletions .github/workflows/any.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,16 @@ jobs:
name: run tests
strategy:
matrix:
node: ["18.x"]
node: ["20.x"]
os: [ubuntu-latest]

runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Use Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: "npm"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
name: run tests
strategy:
matrix:
node: ["18.x"]
node: ["20.x"]
os: [ubuntu-latest]

runs-on: ${{ matrix.os }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
name: run tests
strategy:
matrix:
node: ["18.x"]
node: ["20.x"]
os: [ubuntu-latest]

runs-on: ${{ matrix.os }}
Expand Down
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:18-alpine
FROM node:20-alpine

WORKDIR /app

Expand All @@ -14,6 +14,8 @@ RUN apk add --no-cache --virtual .gyp \

COPY . .

RUN npm run build

EXPOSE 5051

CMD npm run build && npm run prod
CMD npm run prod
4 changes: 2 additions & 2 deletions Dockerfile.dev
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:18-alpine
FROM node:20-alpine

WORKDIR /app

Expand All @@ -14,4 +14,4 @@ RUN apk add --no-cache --virtual .gyp \

COPY . .

CMD npm run migrate && npm run serve
CMD npm run migrate && npm run serve
22 changes: 16 additions & 6 deletions docker-compose-ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: "3"

services:
# ipfs:
# image: ipfs/go-ipfs
Expand All @@ -12,19 +10,31 @@ services:
- ./.env.development
ports:
- "6379:6379"
healthcheck:
interval: 5s
retries: 5
test: redis-cli --raw incr ping
timeout: 1s
mysql:
restart: always
# platform: linux/x86_64
image: mysql:5.7
platform: linux/x86_64
image: mysql:8
env_file:
- ./.env.development
ports:
- "3306:3306"
healthcheck:
interval: 5s
retries: 5
test: ["CMD", "mysqladmin", "ping", "-h", "localhost"]
timeout: 1s
torus-metadata:
restart: "no"
depends_on:
- mysql
- redis
mysql:
condition: service_healthy
redis:
condition: service_healthy
# - ipfs
build:
context: .
Expand Down
4 changes: 1 addition & 3 deletions docker-compose.dev.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: "3"

services:
# ipfs:
# image: ipfs/go-ipfs
Expand All @@ -15,7 +13,7 @@ services:
mysql:
restart: always
# platform: linux/x86_64
image: mysql:5.7
image: mysql:8
command: --max_allowed_packet=67108864 # 64 MB
env_file:
- ./.env.development
Expand Down
Loading

0 comments on commit c77bb28

Please sign in to comment.