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:
parent
e7b6d9cb43
commit
7a48102b88
|
|
@ -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"
|
|
||||||
|
|
@ -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
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
key: udyk-ce
|
key: udyk-ce
|
||||||
name: 友得云客房产系统(社区版)
|
name: 友得云客房产系统
|
||||||
tags:
|
tags:
|
||||||
- Website
|
- Website
|
||||||
shortDescZh: 为房产行业打造的开源的线上营销获客系统
|
shortDescZh: 为房产行业打造的开源的线上营销获客系统
|
||||||
|
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 3.5 KiB |
Loading…
Reference in New Issue