1
0
mirror of https://github.com/pooneyy/1Panel-Appstore.git synced 2026-03-18 02:11:04 +08:00
1Panel-Appstore/apps/udyk/6.2.668/docker-compose.yml
pooneyy 7a48102b88
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
2026-02-23 12:25:08 +08:00

72 lines
1.6 KiB
YAML

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