project access information

frontend repo

https://github.com/bitman333/elerion-frontend

backend repo

https://github.com/bitman333/elerion-backend

server : vultr.com

ip : 45.32.77.180

username : root

password : L7h,SUzvn7)s]ERQ

project dir : /opt/elerion

autodeploy :

/opt/elerion/autodeploy.sh

media server : livekit cloud

apikey : APIF2qneGEdWcVm

secretkey : OQW2dBxf3LiL1vQuBt4gjK51opU5SjsNS752A0lfLM8

server : wss://elerion-project-2-chonslnm.livekit.cloud

chatGPT OpenApi:

apikey : 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

domains:

webapp : mediation.elerion.ai

api : api.eleriona.ai

autodeploy.sh

#bin/sh

#FRONTEND
rm -rf /opt/elerion/elerion-frontend/

#repo clone 
cd /opt/elerion/
git clone git@github-frontend:bitman333/elerion-frontend.git

#docker build
docker build --force-rm -t livekit-meet-frontend .

#old docker stop
docker stop elerion-frontend
sleep 2

#old docker remove
docker rm elerion-frontend
sleep 2

#new one run
docker run --name elerion-frontend --env-file /opt/elerion/conffiles/.env.production -d -p 3000:3000 livekit-meet-frontend



#BACKEND
rm -rf /opt/elerion/elerion-backend/

#repo clone
cd /opt/elerion/
git clone git@github-backend:bitman333/elerion-backend.git

#docker build
docker build --force-rm -t livekit-meet-backend .

#old docker stop
docker stop elerion-backend
sleep 2

#old docker remove
docker rm elerion-backend
sleep 2

#new one run
docker run -d -p 3001:3001 --name elerion-backend -v /opt/elerion/conffiles/config.yaml:/config.yaml -v /opt/elerion/conffiles/gcp-credentials.json:/gcp-credentials.json livekit-meet-backend

Configuration files under the /opt/elerion/conffiles directory.

  • .env.production
  • config.yaml
  • gcp-credentials.json

root@mediation:/opt/elerion/conffiles# cat .env.production LIVEKIT_API_KEY=APIF2qneGEdWcVm LIVEKIT_API_SECRET=OQW2dBxf3LiL1vQuBt4gjK51opU5SjsNS752A0lfLM8 LIVEKIT_URL=wss://elerion-project-2-chonslnm.livekit.cloud

NEXT_PUBLIC_LK_TOKEN_ENDPOINT=/api/token

root@mediation:/opt/elerion/conffiles# cat config.yaml development: true logging: json: false level: debug

livekit: url: wss://elerion-project-2-chonslnm.livekit.cloud api_key: APIF2qneGEdWcVm secret_key: OQW2dBxf3LiL1vQuBt4gjK51opU5SjsNS752A0lfLM8

openai_api_key: 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

port: 3001

root@mediation:/opt/elerion/conffiles# cat gcp-credentials.json { "type": "service_account", "project_id": "elerion-livekit-kitt", "private_key_id": "8ba70f58054b221eaa4b8c88e74f17240321128f", "private_key": "-----BEGIN PRIVATE KEY-----\nMIIEvwIBADANBgkqhkiG9w0BAQEFAASCBKkwggSlAgEAAoIBAQCiUQUNaLxYP4C9\nlJxrcQjuJGRf+rm7DlOOIb2JYg9ihkMh7a2NCpCwfU8ZXQE/7PkDoZzbaUlRISyx\nICr94NCq0HPP7SKZ2q7XG8ENE2A38xc5zoBW+2w/shVFo5bI/7iOXBtI6dVEGmKt\n63fgYKkcl+vxgGUEatXv8EAMJgGVAbsbs9GjHb4yRA/QXsKmEOGu5ZMhrDIM+J4/\n7z5IWET6lYBQhfC2TMPPNDazPSY4Jpxbq1+9c7SGXLnSRokf3p14Z277mbwyn19q\nyydWgZTdj3qDXy9EVIU0+ylav+Bt/+PmC0xj2/GAhIICC1q5hVvPB9HXddsc11bf\n9v8GfPhhAgMBAAECggEACiq6/0kFKx3nKXjKh2xQG+KJqv1gbtgJ4cg5QAa1Yf14\n7QIfMctsnrFqp/MMZf2o51JTKechYYSLcRjLuJVBXMGrz2VSGoL5Gp4xbGk/SKHg\nXY2SumALOr4j2PXTNwnVfI1GZD3JTve8IJq0KojDbvgRHlJlgW5TsjDBQkGLLdMR\nS7J+ubBoXdXoPBUypydB0Yjp/MewLwWLp6HWt1xWTuED4xaOTBaFL5GeblkdJ3qt\nZXHp8ua54ZHHZ3GN0mkGyciy1sKVcgoAzNn9elJmpRHQACLsLDEfABeddxlZXZXm\nnkoCvgBRb+IwaxP33/D6n+pLp9PR6OruV9SLCO/6wQKBgQDeh2QNHh0zw+XjI5xq\n0pGFDjU6sacgWWCuwHnpV4xrq34NMwDsgxSWCZkdJQkAezI50dDrpQ93o+WEStxX\nJNRLJIlcmH0susjPYI6VMdpHe3RK0TR1DLdbKVOtcK+w0D9wt+2xup15Gy1pxZJx\neybC/9rVjw91Ul+P0zsa3IRQGQKBgQC6ux1KJuNZ9b2l2MKr3pqNyF5OOqhGeoxb\nMAobrdCr5S3aQdl+hB2YWDu/MY+KSuc77Z1gJpF27RasQRJvGTvDV1RV5cxJVVLM\numzRu+QrrYlwjoAFS40/6+96f28ixgWJDsUr51qRk/LbyjMBUkW9vBj+ZT6QZrJx\n4HadSiZTiQKBgQCgRd932zKpL/UJTYLBJXwN2xfXeFCo6fbKpnKn75iBi/izxQJr\nVlWjYrJW3W/IWvLn1gilUDL9tpv+VnSwhyQoIt6URHgTmUw8oIzRRCC0z2QI5vjj\nPQ9qpy9PghPoQ3UN2EtocMIukbZ5sgUxmsNmOyUAH5PAql2Nl1PAmwbpMQKBgQCq\n5RKySZLrQw8VGKNZfnn+ZrGAcQiOsBuCXR3zJQmEOFPVm0x9EFaxlZbgrXAMBe9I\nlnfghou8xtFoRomjafmbFnKVxqFHQDJuMfPjo0z4eHL/szsRHYshREHA354LuiVY\nwU7Mloj6EOhEJPK3M9+l/N72/BvdNk/8Do0f+LvI2QKBgQDLcH4OVumaDYBFWf0a\n3Ax6UfQpeGjCv1VXzB25z4D6BtCrqHV03S/f/0eI+1dD4hx//EaufQwmbRq7v7PX\nBFB+HHKaBaQRm57urz711dEAXrfjLLHSsqLWOzX2c2p11lY8wA/KHMbD6bcTeaPB\n235cFyRRgulgrHp0PY1yh9n7dA==\n-----END PRIVATE KEY-----\n", "client_email": "elerion-service-account@elerion-livekit-kitt.iam.gserviceaccount.com", "client_id": "114643932238423186802", "auth_uri": "https://accounts.google.com/o/oauth2/auth", "token_uri": "https://oauth2.googleapis.com/token", "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs", "client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/elerion-service-account%40elerion-livekit-kitt.iam.gserviceaccount.com", "universe_domain": "googleapis.com" }

Ssh config file

root@mediation:~/.ssh# cat config Host github-backend User git Hostname github.com PreferredAuthentications publickey IdentitiesOnly yes IdentityFile ~/.ssh/id_ed25519b

Host github-frontend User git Hostname github.com PreferredAuthentications publickey IdentitiesOnly yes IdentityFile ~/.ssh/id_ed25519