refactor(udyk): migrate from community to pro edition and restructure app directory
- delete old community edition docker-compose.yml for version 6.0 - create new pro edition docker-compose.yml for version 6.2.668 with updated service architecture - rename directory from `udyk-ce` to `udyk` and update file paths accordingly - rename and update sample environment file and data configuration file - update application display name in data.yml from "友得云客房产系统(社区版)" to "友得云客房产系统" - update service images to pro edition tags (e.g., nginx-6.2.668, server-6.2.668, www-6.2.668) - restructure services: replace `panel` service with separate `nginx` and `www` services - update container names to remove `-ce` suffix (e.g., udyk-server instead of udyk-ce-server) - adjust volume mounts and paths for new service structure - preserve and relocate README.md and logo.png files
This commit is contained in:
1
apps/udyk/6.2.668/.env.sample
Normal file
1
apps/udyk/6.2.668/.env.sample
Normal file
@@ -0,0 +1 @@
|
||||
PANEL_APP_PORT_HTTP=40320
|
||||
13
apps/udyk/6.2.668/data.yml
Normal file
13
apps/udyk/6.2.668/data.yml
Normal file
@@ -0,0 +1,13 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: "40320"
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: Port
|
||||
labelZh: 端口
|
||||
label:
|
||||
en: Port
|
||||
zh: 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
71
apps/udyk/6.2.668/docker-compose.yml
Normal file
71
apps/udyk/6.2.668/docker-compose.yml
Normal file
@@ -0,0 +1,71 @@
|
||||
services:
|
||||
nginx:
|
||||
container_name: udyk-nginx
|
||||
image: registry.cn-shanghai.aliyuncs.com/youdeyunke/pro:nginx-6.2.668
|
||||
restart: always
|
||||
volumes:
|
||||
- ./data/upload:/app/filestore
|
||||
environment:
|
||||
TZ: Asia/Shanghai
|
||||
LANG: C.UTF-8
|
||||
ports:
|
||||
- ${PANEL_APP_PORT_HTTP}:80
|
||||
depends_on:
|
||||
- server
|
||||
- www
|
||||
|
||||
server:
|
||||
container_name: udyk-server
|
||||
image: registry.cn-shanghai.aliyuncs.com/youdeyunke/pro:server-6.2.668
|
||||
privileged: true # 注意,不能去掉
|
||||
restart: on-failure:5
|
||||
expose:
|
||||
- 8080
|
||||
environment:
|
||||
TZ: Asia/Shanghai
|
||||
LANG: C.UTF-8
|
||||
depends_on:
|
||||
- redis
|
||||
- db
|
||||
volumes:
|
||||
- ./data/app:/app
|
||||
|
||||
www:
|
||||
container_name: udyk-www
|
||||
image: registry.cn-shanghai.aliyuncs.com/youdeyunke/pro:www-6.2.668
|
||||
restart: always
|
||||
user: root
|
||||
expose:
|
||||
- 3000
|
||||
environment:
|
||||
TZ: Asia/Shanghai
|
||||
LANG: C.UTF-8
|
||||
depends_on:
|
||||
- server
|
||||
- db
|
||||
|
||||
redis:
|
||||
container_name: udyk-redis
|
||||
restart: always
|
||||
image: registry.cn-shanghai.aliyuncs.com/youdeyunke/common:redis-4.0
|
||||
command: redis-server --bind 0.0.0.0 --appendonly yes
|
||||
environment:
|
||||
TZ: Asia/Shanghai
|
||||
LANG: C.UTF-8
|
||||
volumes:
|
||||
- ./data/redis:/data
|
||||
expose:
|
||||
- 6379
|
||||
|
||||
db:
|
||||
container_name: udyk-db
|
||||
image: registry.cn-shanghai.aliyuncs.com/youdeyunke/common:mysql-8.0.3
|
||||
expose:
|
||||
- 3306
|
||||
volumes:
|
||||
- ./data/mysql:/var/lib/mysql
|
||||
environment:
|
||||
LANG: C.UTF-8
|
||||
TZ: Asia/Shanghai
|
||||
MYSQL_ROOT_PASSWORD: udyk@2023
|
||||
restart: always
|
||||
19
apps/udyk/README.md
Normal file
19
apps/udyk/README.md
Normal file
@@ -0,0 +1,19 @@
|
||||
# 友得云客房产小程序-社区版
|
||||
|
||||
友得云客房产小程序是一款专为房产行业打造的开源的线上营销获客小程序,功能包括:一手房、二手房、租房房源发布、二维码海报、置业顾问电子名片,适用于房产开发商、代理商、房产自媒体等行业,拥有众多成功案例。前端采用微信小程序原生开发,后端采用java开发,社区版全部开源免费,您可以在此基础上进行修改和扩展,以适应您自己的业务。本项目所用技术栈有:java/springboot、js/vue.
|
||||
|
||||
- 初始管理账号为:`admin@example.com`
|
||||
- 密码为:`88888888`
|
||||
|
||||
## 使用说明
|
||||
|
||||
- **注意,容器以`privileged`特权模式运行,注意安全问题。**
|
||||
|
||||
- 此程序为多容器编排,有安装`MySQL`,注意硬件性能。
|
||||
|
||||
- 容器名等参数通过编排锁死,面板设置无效,更新升级可通过替换`compose.yml`重建,详情查看程序官方文档。
|
||||
|
||||
***
|
||||
|
||||
- [产品官网](https://www.youdeyunke.com/?statId=6)
|
||||
- [帮助文档](https://youdeyunke.yuque.com/r/organizations/homepage)
|
||||
16
apps/udyk/data.yml
Normal file
16
apps/udyk/data.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
additionalProperties:
|
||||
key: udyk-ce
|
||||
name: 友得云客房产系统
|
||||
tags:
|
||||
- Website
|
||||
shortDescZh: 为房产行业打造的开源的线上营销获客系统
|
||||
shortDescEn: An open-source online marketing and customer acquisition system tailored for the real estate industry.
|
||||
description:
|
||||
en: An open-source online marketing and customer acquisition system tailored for the real estate industry.
|
||||
zh: 为房产行业打造的开源的线上营销获客系统
|
||||
type: website
|
||||
crossVersionUpdate: false
|
||||
limit: 1
|
||||
website: https://www.youdeyunke.com
|
||||
github: https://github.com/youdeyunke/app
|
||||
document: https://youdeyunke.yuque.com/r/organizations/homepage
|
||||
BIN
apps/udyk/logo.png
Normal file
BIN
apps/udyk/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.5 KiB |
Reference in New Issue
Block a user