Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
Eshanchik committed Jan 12, 2024
1 parent 0d60fb7 commit cb61518
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Dockerfile_db
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ WORKDIR /app

COPY --from=ghcr.io/ambrosus/airdao-gov-user-binary:main /tmp/builder/target/release/airdao-gov-portal-db .

RUN mkdir -p ./config
RUN mkdir -p ./gov-portal-db/config

CMD ["./airdao-gov-portal-db"]
2 changes: 1 addition & 1 deletion Dockerfile_verifier
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ WORKDIR /app

COPY --from=ghcr.io/ambrosus/airdao-gov-user-binary:main /tmp/builder/target/release/airdao-gov-user-verifier .

RUN mkdir -p ./config
RUN mkdir -p ./gov-portal-db/config

CMD ["./airdao-gov-user-verifier"]
10 changes: 5 additions & 5 deletions config/default.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"listenAddress": "0.0.0.0:10000",
"signer": {
"signingKey": null,
"signingKey": "d4ea0a1f2fceb0657ccb87cd776a28e84bb35324053d30d1837b6a8d5974e6db",
"requestLifetime": 60000,
"sbtLifetime": 3153600000
},
"fractal": {
"requestTokenUrl": "https://auth.fractal.id/oauth/token",
"requestUserUrl": "https://resource.fractal.id/users/me",
"clientId": null,
"clientSecret": null
"requestTokenUrl": "https://auth.next.fractal.id/oauth/token",
"requestUserUrl": "https://resource.next.fractal.id/users/me",
"clientId": "5T7q_ynCRJxZxPCKTt0WpHgT7P5VJe2aaZvqo3TAl6A",
"clientSecret": "WyftgkLQL37S-1mSGCOOPQNdf8cbb1QodRyWnGD3JqU"
}
}
6 changes: 3 additions & 3 deletions gov-portal-db/config/default.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"listenAddress": "0.0.0.0:10001",
"session": {
"secret": null,
"secret": "TestSessionSecretForJWT",
"lifetime": 86400
},
"registration": {
"secret": null,
"secret": "TestRegistrationSecretForJWT",
"lifetime": 600
},
"mongo": {
"url": null,
"url": "mongodb://localhost:27017",
"db": "AirDAOGovPortal",
"collection": "Users",
"requestTimeout": 10000
Expand Down

0 comments on commit cb61518

Please sign in to comment.