Skip to content
Snippets Groups Projects
Commit c1c79420 authored by Gregor Schulz's avatar Gregor Schulz
Browse files

Merge branch 'HOLI-4979_chat-configuration' into 'main'

HOLI-4979: configure chat correctly for staging and local setup

See merge request app/holi-meta!38
parents a8bab56f a12dfde5
Branches
No related tags found
No related merge requests found
......@@ -3,26 +3,27 @@
The meta repository which helps you check out the other repositories and run a development environment locally.
<!-- TOC -->
- [Getting started](#getting-started)
- [Requirements](#requirements)
- [direnv && nodenv/nvm](#direnv--nodenvnvm)
- [Yarn](#yarn)
- [Ory](#ory)
- [Emulator](#emulator)
- [Google Pub/Sub Emulator](#google-pubsub-emulator)
- [OwnCloud Infinite Storage (OCIS)](#owncloud-infinite-storage-ocis)
- [Jitsi Meet](#jitsi-meet)
- [Docker-Compose](#docker-compose)
- [Deno](#deno)
- [brew](#brew)
- [Initialization](#initialization)
- [IDE setup](#ide-setup)
- [Running dev environments via mprocs](#running-dev-environments-via-mprocs)
- [Local backend on Android](#local-backend-on-android)
- [Helper scripts](#helper-scripts)
- [forall-git](#forall-git)
- [Port registry](#port-registry)
- [Terraform authentication (optional)](#terraform-authentication-optional)
- [holi-meta](#holi-meta)
- [Getting started](#getting-started)
- [Requirements](#requirements)
- [direnv \&\& nodenv/nvm](#direnv--nodenvnvm)
- [Yarn](#yarn)
- [Ory](#ory)
- [Emulator](#emulator)
- [Google Pub/Sub Emulator](#google-pubsub-emulator)
- [OwnCloud Infinite Storage (OCIS)](#owncloud-infinite-storage-ocis)
- [Jitsi Meet](#jitsi-meet)
- [Docker-Compose](#docker-compose)
- [Deno](#deno)
- [brew](#brew)
- [Initialization](#initialization)
- [IDE setup](#ide-setup)
- [Running dev environments via mprocs](#running-dev-environments-via-mprocs)
- [Local backend on Android](#local-backend-on-android)
- [Helper scripts](#helper-scripts)
- [forall-git](#forall-git)
- [Port registry](#port-registry)
- [Terraform authentication (optional)](#terraform-authentication-optional)
<!-- /TOC -->
## Getting started
......@@ -161,25 +162,28 @@ forall-git git pull # pull all repositories
The following table lists all ports that are used for local execution.
| Application | Port |
| --------------- | ---- |
| oathkeeper | 4455 |
| unified-api | 4000 |
| okuna | 8000 |
| donations | 8001 |
| goodnews | 8002 |
| geo | 8003 |
| volunteering | 8004 |
| matrix | 8008 |
| pubsub-emulator | 8085 |
| ocis-subscriber | 8086 |
| ocis-postgres | 8087 |
| ocis | 9200 |
| onlyoffice | 9201 |
| wopiserver | 8880 |
| meet | 9300 |
| meet (ssl) | 9343 |
| meet (auth) | 9301 |
| Application | Port |
|---------------------------------|------|
| oathkeeper | 4455 |
| unified-api | 4000 |
| chat-server (matrix client) | 8008 |
| chat-server (matrix federation) | 8448 |
| chat-server (traefik proxy) | 8010 |
| chat-server (traefik proxy) | 8011 |
| okuna | 8000 |
| donations | 8001 |
| goodnews | 8002 |
| geo | 8003 |
| volunteering | 8004 |
| pubsub-emulator | 8085 |
| ocis-subscriber | 8086 |
| ocis-postgres | 8087 |
| ocis | 9200 |
| onlyoffice | 9201 |
| wopiserver | 8880 |
| meet | 9300 |
| meet (ssl) | 9343 |
| meet (auth) | 9301 |
## Terraform authentication (optional)
......
......@@ -4,6 +4,9 @@ procs:
env:
HOLI_API_URL: http://localhost:4455/graphql
HOLI_API_GATEWAY: http://localhost:4455
OWNCLOUD_BASE_URL: https://local.cloud.holi.social
HOLI_CHAT_SERVER_URL: http://local.chat.holi.social:8008
HOLI_CHAT_IDENTITY_SERVER_URL: https://vector.im
shell: >
yarn mobile:dev
web:
......@@ -11,7 +14,14 @@ procs:
env:
HOLI_API_URL: http://localhost:4455/graphql
HOLI_API_GATEWAY: http://localhost:4455
NEXT_PUBLIC_OWNCLOUD_BASE_URL: "https://local.cloud.holi.social"
OWNCLOUD_BASE_URL: https://local.cloud.holi.social:9200
HOLI_CHAT_SERVER_URL: http://local.chat.holi.social:8008
HOLI_CHAT_IDENTITY_SERVER_URL: https://vector.im
NEXT_PUBLIC_HOLI_API_URL: http://localhost:3000/graphql
NEXT_PUBLIC_HOLI_API_GATEWAY: http://localhost:3000
NEXT_PUBLIC_OWNCLOUD_BASE_URL: https://local.cloud.holi.social:9200
NEXT_PUBLIC_HOLI_CHAT_SERVER_URL: http://local.chat.holi.social:8008
NEXT_PUBLIC_HOLI_CHAT_IDENTITY_SERVER_URL: https://vector.im
SENTRY_IGNORE_API_RESOLUTION_ERROR: "1"
shell: >
yarn web:dev
......@@ -50,7 +60,9 @@ procs:
../wait-for-port.sh 8002;
../wait-for-port.sh 8003;
../wait-for-port.sh 8004;
yarn dev;
yarn mesh build;
cp logger.ts .mesh/;
yarn serve
okuna-services:
cwd: <CONFIG_DIR>/holi-okuna
shell: >
......
......@@ -11,6 +11,8 @@ procs:
env:
HOLI_API_URL: https://staging.unified.apis.holi.social/graphql
HOLI_API_GATEWAY: https://staging.unified.apis.holi.social
NEXT_PUBLIC_HOLI_API_URL: http://localhost:3000/graphql
NEXT_PUBLIC_HOLI_API_GATEWAY: http://localhost:3000
SENTRY_IGNORE_API_RESOLUTION_ERROR: "1"
shell: >
yarn web:dev
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment