Skip to content

Commit

Permalink
Merge pull request #20 from 2060-io/feat-schema
Browse files Browse the repository at this point in the history
feat: add docker compose
  • Loading branch information
lotharking committed Jul 22, 2024
2 parents e90b413 + 6871286 commit 0f8b0f5
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ NEXT_PUBLIC_KEYCLOAK_URL=https://keycloak_example.io/realms/2060io
NEXT_PUBLIC_KEYCLOAK_CLIENT_ID=frontend-example
NEXT_PUBLIC_KEYCLOAK_REDIRECT_URI=http://localhost:3000/
NEXT_PUBLIC_KEYCLOAK_POST_LOGOUT_REDIRECT_URI=http://localhost:3000/
NEXT_PUBLIC_KEYCLOAK_PRES_REQ_CONF_ID=showcase-person
NEXT_PUBLIC_KEYCLOAK_PRES_REQ_CONF_ID=email
# Template repo
NEXT_PUBLIC_TEMPLATE_DIR=2060-io/dashboard-templates
Expand Down
25 changes: 25 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
version: "3"

services:
next-app:
ports:
- 8080:3000
build: .
command: yarn start
environment:
- NEXT_PUBLIC_BACKEND_BASE_PATH=
- NEXT_PUBLIC_KEYCLOAK_URL=http://localhost:8880/auth/realms/vc-authn
- NEXT_PUBLIC_KEYCLOAK_CLIENT_ID=vue-fe
- NEXT_PUBLIC_KEYCLOAK_REDIRECT_URI=http://localhost:8080/
- NEXT_PUBLIC_KEYCLOAK_POST_LOGOUT_REDIRECT_URI=http://localhost:8080/
- NEXT_PUBLIC_KEYCLOAK_PRES_REQ_CONF_ID=phone-number
- NEXT_PUBLIC_TEMPLATE_DIR=2060-io/dashboard-templates
- NEXT_PUBLIC_TEMPLATE_BRANCH=main
- NEXT_PUBLIC_TEMPLATE_SCHEMA_DIR=Fastbot/schema.yml
networks:
- vc_auth

networks:
vc_auth:
driver: bridge

0 comments on commit 0f8b0f5

Please sign in to comment.