forked from deltaDAO/mvg-portal
-
Notifications
You must be signed in to change notification settings - Fork 2
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
Showing
38 changed files
with
8,839 additions
and
199 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,33 @@ | ||
#NEXT_PUBLIC_COMPLIANCE_URI="https://compliance.arlabdevelopments.com/development" | ||
NEXT_PUBLIC_COMPLIANCE_URI="https://compliance.lab.gaia-x.eu/v1-staging" | ||
|
||
#NEXT_PUBLIC_INFURA_PROJECT_ID="xxx" | ||
#NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID="xxx" | ||
#NEXT_PUBLIC_MARKET_FEE_ADDRESS="0xxx" | ||
#NEXT_PUBLIC_PUBLISHER_MARKET_ORDER_FEE="1" | ||
#NEXT_PUBLIC_PUBLISHER_MARKET_FIXED_SWAP_FEE="1" | ||
#NEXT_PUBLIC_CONSUME_MARKET_ORDER_FEE="1" | ||
#NEXT_PUBLIC_CONSUME_MARKET_FIXED_SWAP_FEE="1" | ||
|
||
# | ||
### ADVANCED SETTINGS | ||
# | ||
|
||
# Toggle pricing options presented during price creation | ||
#NEXT_PUBLIC_ALLOW_FIXED_PRICING="true" | ||
#NEXT_PUBLIC_ALLOW_FREE_PRICING="true" | ||
|
||
# Privacy Preference Center | ||
#NEXT_PUBLIC_PRIVACY_PREFERENCE_CENTER="true" | ||
|
||
# Development Preference Center | ||
#NEXT_PUBLIC_NFT_FACTORY_ADDRESS='0xxx' | ||
#NEXT_PUBLIC_OPF_COMMUNITY_FEE_COLECTOR='0xxx' | ||
#NEXT_PUBLIC_FIXED_RATE_EXCHANGE_ADDRESS='0xxx' | ||
#NEXT_PUBLIC_DISPENSER_ADDRESS='0xxx' | ||
#NEXT_PUBLIC_OCEAN_TOKEN_ADDRESS='0xxx' | ||
#NEXT_PUBLIC_MARKET_DEVELOPMENT='true' | ||
#NEXT_PUBLIC_PROVIDER_URL="http://xxx:xxx" | ||
#NEXT_PUBLIC_SUBGRAPH_URI="http://xxx:xxx" | ||
#NEXT_PUBLIC_METADATACACHE_URI="http://xxx:xxx" | ||
#NEXT_PUBLIC_RPC_URI="http://xxx:xxx" |
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,30 @@ | ||
name: deploy | ||
|
||
on: | ||
push: | ||
branches: | ||
- 'agrospai' | ||
|
||
jobs: | ||
docker: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Set up QEMU | ||
uses: docker/setup-qemu-action@v2 | ||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v2 | ||
env: | ||
COMMIT_REF: ${{ github.sha }} | ||
BRANCH: 'agrospai' | ||
- name: Login to Docker Hub | ||
uses: docker/login-action@v2 | ||
with: | ||
username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
password: ${{ secrets.DOCKERHUB_TOKEN }} | ||
- name: Build and push | ||
uses: docker/build-push-action@v4 | ||
with: | ||
push: true | ||
tags: | | ||
rhizomik/marketplace:${{ github.sha }} | ||
rhizomik/marketplace:latest |
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,63 @@ | ||
FROM node:18-alpine AS base | ||
|
||
# Install dependencies only when needed | ||
FROM base AS deps | ||
# Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed. | ||
RUN apk add --no-cache libc6-compat | ||
WORKDIR /app | ||
|
||
# Install dependencies based on the preferred package manager | ||
COPY package.json yarn.lock* package-lock.json* pnpm-lock.yaml* ./ | ||
RUN \ | ||
if [ -f yarn.lock ]; then yarn --frozen-lockfile; \ | ||
elif [ -f package-lock.json ]; then npm ci --ignore-scripts; \ | ||
elif [ -f pnpm-lock.yaml ]; then yarn global add pnpm && pnpm i --frozen-lockfile; \ | ||
else echo "Lockfile not found." && exit 1; \ | ||
fi | ||
|
||
|
||
# Rebuild the source code only when needed | ||
FROM base AS builder | ||
WORKDIR /app | ||
COPY --from=deps /app/node_modules ./node_modules | ||
COPY . . | ||
|
||
# Next.js collects completely anonymous telemetry data about general usage. | ||
# Learn more here: https://nextjs.org/telemetry | ||
# Uncomment the following line in case you want to disable telemetry during the build. | ||
ENV NEXT_TELEMETRY_DISABLED 1 | ||
|
||
# RUN yarn build | ||
|
||
# If using npm comment out above and use below instead | ||
ENV BRANCH 'udl' | ||
ENV COMMIT_REF 0.1 | ||
RUN npm run postinstall | ||
RUN npm run build | ||
|
||
# Production image, copy all the files and run next | ||
FROM base AS runner | ||
WORKDIR /app | ||
|
||
ENV NODE_ENV production | ||
# Uncomment the following line in case you want to disable telemetry during runtime. | ||
ENV NEXT_TELEMETRY_DISABLED 1 | ||
|
||
RUN addgroup --system --gid 1001 nodejs | ||
RUN adduser --system --uid 1001 nextjs | ||
|
||
USER nextjs | ||
|
||
COPY --from=builder /app/public ./public | ||
|
||
# Automatically leverage output traces to reduce image size | ||
# https://nextjs.org/docs/advanced-features/output-file-tracing | ||
COPY --from=builder /app/.next/standalone ./ | ||
COPY --from=builder /app/.next/static ./.next/static | ||
|
||
EXPOSE 3000 | ||
|
||
ENV PORT 3000 | ||
ENV HOSTNAME localhost | ||
|
||
CMD ["node", "server.js"] |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,12 @@ | ||
--- | ||
title: Imprint | ||
description: Thanks for using our product and services. | ||
title: Contact Information | ||
--- | ||
|
||
deltaDAO AG<br/> | ||
Katharinenstraße 30a (Contor)<br/> | ||
20457 Hamburg<br/> | ||
Germany<br/><br/> | ||
Roberto García ([[email protected]](mailto:[email protected])) | ||
Associate Professor | ||
|
||
**Phone**: +49 40 43281904<br/> | ||
**E-Mail**: [[email protected]](mailto:[email protected])<br/><br/> | ||
|
||
**Members of the Board**: Frederic Schwill, Kai Meinke, Albert Peci<br/> | ||
**Chairman of the Supervisory Board**: Dr. Sven Hildebrandt<br/><br/> | ||
|
||
**Commercial register**: Handelsregister B des Amtsgerichts Hamburg, HRB 170364<br/> | ||
**USt – IdNr**: DE346013532<br/><br/> | ||
|
||
The European Commission provides a platform for online dispute resolution, which you can find here: <https://ec.europa.eu/consumers/odr/>. We are not obliged or willing to participate in a dispute resolution procedure before a consumer arbitration board. | ||
Computer Science and Digital Design Department | ||
Universitat de Lleida | ||
Jaume II, 69 | ||
25001 Lleida | ||
Spain |
Oops, something went wrong.