1
0
Fork 0

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:
pooneyy 2026-02-23 12:25:08 +08:00
parent e7b6d9cb43
commit 7a48102b88
No known key found for this signature in database
7 changed files with 72 additions and 64 deletions

View File

@ -1,63 +0,0 @@
services:
panel:
container_name: udyk-ce-panel
image: registry.cn-shanghai.aliyuncs.com/youdeyunke/ce:panel
restart: on-failure:3
expose:
- 80
ports:
- ${PANEL_APP_PORT_HTTP}:80
environment:
TZ: "Asia/Shanghai"
LANG: "C.UTF-8"
depends_on:
- server
volumes:
- "./data/tmp:/tmp"
- "./data/upload:/app/filestore"
server:
container_name: udyk-ce-server
image: registry.cn-shanghai.aliyuncs.com/youdeyunke/ce:server
platform: "linux/x86_64" # 如果是m芯片必须加这个
privileged: true
restart: always
expose:
- 8080
environment:
TZ: "Asia/Shanghai"
LANG: "C.UTF-8"
depends_on:
- redis
- db
volumes:
- "./data/tmp:/tmp"
- "./data/upload:/app/upload/"
redis:
container_name: udyk-ce-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-ce-db
restart: "always"
image: registry.cn-shanghai.aliyuncs.com/youdeyunke/common:mysql-8.0.3
expose:
- 3306
volumes:
- ./data/mysql:/var/lib/mysql
environment:
MYSQL_DATABASE: udyk_community
LANG: "C.UTF-8"
TZ: "Asia/Shanghai"
MYSQL_ROOT_PASSWORD: "udyk@2023"

View 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

View File

@ -1,6 +1,6 @@
additionalProperties:
key: udyk-ce
name: 友得云客房产系统(社区版)
name: 友得云客房产系统
tags:
- Website
shortDescZh: 为房产行业打造的开源的线上营销获客系统

View File

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 3.5 KiB