Compare commits

..

4 Commits

Author SHA1 Message Date
9e37b0ccae env
All checks were successful
Deploy / deploy (push) Successful in 38s
2026-09-05 15:03:13 +06:00
9b0a27dbcc yarn upgrade
All checks were successful
Deploy / deploy (push) Successful in 5m36s
2026-09-05 14:54:47 +06:00
05f8e3e603 session livekit token
Some checks failed
Deploy / deploy (push) Failing after 1m58s
2026-09-05 14:49:46 +06:00
a26343e99d session livekit token
Some checks failed
Deploy / deploy (push) Has been cancelled
2026-09-05 14:48:36 +06:00
5 changed files with 19 additions and 3 deletions

View File

@@ -34,7 +34,10 @@ jobs:
# run: cp /home/koptilnya/services/chad/data/database.db /home/koptilnya/services/chad/database-$(date+"%d-%m-%Y").db
- name: Build
run: docker build -t chad-server ./server
run: |
docker build -t chad-server ./server \
--build-arg LIVEKIT_API_KEY=${{ secrets.LIVEKIT_API_KEY }} \
--build-arg LIVEKIT_API_SECRET=${{ secrets.LIVEKIT_API_SECRET }}
- name: Stop old container
run: docker rm -f chad-server || true

View File

@@ -1 +1,8 @@
approvedGitRepositories:
- "**"
enableScripts: true
nodeLinker: node-modules
npmMinimalAgeGate: 0

View File

@@ -7,6 +7,12 @@ RUN yarn set version latest
RUN yarn install --frozen-lockfile
COPY . .
ARG LIVEKIT_API_KEY
ARG LIVEKIT_API_SECRET
ENV LIVEKIT_API_KEY=$LIVEKIT_API_KEY
ENV LIVEKIT_API_SECRET=$LIVEKIT_API_SECRET
ENV PORT=80
ENV CORS_ORIGIN=chad.koptilnya.xyz
ENV ANNOUNCED_ADDRESS=91.144.171.182

View File

@@ -5,7 +5,7 @@
"db:deploy": "npx prisma migrate deploy && npx prisma generate"
},
"type": "module",
"packageManager": "yarn@4.10.3",
"packageManager": "yarn@4.18.0",
"dependencies": {
"@fastify/autoload": "^6.3.1",
"@fastify/cookie": "^11.0.2",

View File

@@ -2,7 +2,7 @@
# Manual changes might be lost - proceed with caution!
__metadata:
version: 8
version: 10
cacheKey: 10c0
"@antfu/eslint-config@npm:^5.4.1":