add production docker compose

This commit is contained in:
2026-02-03 21:35:33 +07:00
parent 35d0a9db6d
commit e6f2ac2195
2 changed files with 23 additions and 3 deletions

View File

@@ -48,6 +48,6 @@ jobs:
--push \
.
# - name: Redeploy stack in Portainer
# run: |
# curl -X POST "${{ secrets.PORTAINER_WEBHOOK_URL }}"
- name: Redeploy stack in Portainer
run: |
curl -X POST "${{ secrets.PORTAINER_WEBHOOK_URL }}"

20
docker-compose-prod.yml Normal file
View File

@@ -0,0 +1,20 @@
services:
rkllm:
image: git.home/drholy/rkllm-gradio-server:latest
container_name: rkllm
restart: always
privileged: true
volumes:
- ./models:/app/models:ro
ulimits:
nofile:
soft: 16384
hard: 1048576
ports:
- "8080:8080"
networks:
- apps
networks:
apps:
name: apps
driver: bridge