feat: update vars
This commit is contained in:
@@ -58,7 +58,7 @@ jobs:
|
|||||||
|
|
||||||
scp -i key.pem -o StrictHostKeyChecking=no \
|
scp -i key.pem -o StrictHostKeyChecking=no \
|
||||||
docker-compose.yml \
|
docker-compose.yml \
|
||||||
bot@${{ secrets.SSH_HOST }}:/home/shared/iceberg/.../docker-compose.yml # [TO CHANGE]
|
bot@${{ secrets.SSH_HOST }}:/home/shared/iceberg/chat/chat-website/docker-compose.yml
|
||||||
- name: Execute remote deployment
|
- name: Execute remote deployment
|
||||||
uses: appleboy/ssh-action@v1.0.3
|
uses: appleboy/ssh-action@v1.0.3
|
||||||
with:
|
with:
|
||||||
@@ -73,10 +73,10 @@ jobs:
|
|||||||
docker pull gitea.iceberg.black/$REPO_LOWER:$TAG
|
docker pull gitea.iceberg.black/$REPO_LOWER:$TAG
|
||||||
docker logout gitea.iceberg.black
|
docker logout gitea.iceberg.black
|
||||||
|
|
||||||
docker stop ... || true # [TO CHANGE]
|
docker stop chat-website || true
|
||||||
docker rm ... || true # [TO CHANGE]
|
docker rm chat-website || true
|
||||||
|
|
||||||
cd /home/shared/iceberg/... # [TO CHANGE]
|
cd /home/shared/iceberg/chat/chat-website
|
||||||
REPO_LOWER=$REPO_LOWER TAG=$TAG docker compose up -d
|
REPO_LOWER=$REPO_LOWER TAG=$TAG docker compose up -d
|
||||||
|
|
||||||
docker image prune -af
|
docker image prune -af
|
||||||
|
|||||||
+2
-2
@@ -1,12 +1,12 @@
|
|||||||
services:
|
services:
|
||||||
chat:
|
chat:
|
||||||
image: gitea.iceberg.black/${REPO_LOWER}:${TAG}
|
image: gitea.iceberg.black/${REPO_LOWER}:${TAG}
|
||||||
container_name: ... # [TO CHANGE]
|
container_name: chat-website
|
||||||
|
|
||||||
env_file:
|
env_file:
|
||||||
- .env # You SHOULD upload env file on vps before
|
- .env # You SHOULD upload env file on vps before
|
||||||
|
|
||||||
ports:
|
ports:
|
||||||
- '...:...' # [TO CHANGE]
|
- '6067:3000'
|
||||||
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "Iceberg Server",
|
"name": "Chat Iceberg",
|
||||||
"short_name": "Iceberg",
|
"short_name": "Chat Iceberg",
|
||||||
"description": "Serveur personnel Iceberg - Petit mais costaud",
|
"description": "Privacy-aware LLM",
|
||||||
|
|
||||||
"start_url": "/",
|
"start_url": "/",
|
||||||
"scope": "/",
|
"scope": "/",
|
||||||
|
|||||||
Reference in New Issue
Block a user