Skip to content

Commit

Permalink
add koishi
Browse files Browse the repository at this point in the history
  • Loading branch information
chendelin1982 authored Mar 25, 2024
1 parent 7ee6e67 commit b9f49ac
Show file tree
Hide file tree
Showing 6 changed files with 70 additions and 0 deletions.
20 changes: 20 additions & 0 deletions apps/koishi/.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
W9_REPO=koishijs/koishi
W9_DIST=community
W9_VERSION=latest-lite

W9_HTTP_PORT_SET=9001

#### -- Not allowed to edit below environments when recreate app based on existing data -- ####

W9_ID=koishi
W9_HTTP_PORT=5140

W9_URL=internet_ip
W9_NETWORK=websoft9

#### ----------------------------------------------------------------------------------------- ####


# Below environment is created by koishi

TZ=Asia/Shanghai
5 changes: 5 additions & 0 deletions apps/koishi/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# CHANGELOG

## Release
### Fixes and Enhancements

1 change: 1 addition & 0 deletions apps/koishi/Notes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Koishi
23 changes: 23 additions & 0 deletions apps/koishi/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# docs: https://koishi.chat/zh-CN/manual/starter/docker.html
# image: https://hub.docker.com/r/koishijs/koishi

version: '3.8'

services:
koishi:
image: $W9_REPO:$W9_VERSION
container_name: $W9_ID
restart: unless-stopped
ports:
- $W9_HTTP_PORT_SET:5140
env_file: .env
volumes:
- koishi:/koishi

volumes:
koishi:

networks:
default:
name: $W9_NETWORK
external: true
3 changes: 3 additions & 0 deletions apps/koishi/src/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# About

This folder includes files mount to container and used by Websoft9
18 changes: 18 additions & 0 deletions apps/koishi/variables.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"name": "koishi",
"trademark": "Koishi",
"release": false,
"fork_url": "https://github.com/koishijs/koishi",
"edition": [
{
"dist": "community",
"version": ["latest-lite","latest"]
}
],
"requirements": {
"cpu": "1",
"memory": "1",
"disk": "1",
"url": "https://github.com/koishijs/koishi"
}
}

0 comments on commit b9f49ac

Please sign in to comment.