代码拉取完成,页面将自动刷新
version: '3.8'
services:
mysql:
image: mysql:8.3.0
ports:
- 3306:3306
volumes:
- /opt/lite/mysql/conf/mysql.cnf:/etc/mysql/conf.d/mysql.cnf
- /opt/lite/mysql/data/:/var/lib/mysql/
privileged: true
environment:
- MYSQL_ROOT_PASSWORD=Abc123++
- MYSQL_DATABASE=iking_framework
- TZ=Asia/Shanghai
restart: always
container_name: mysql
command: mysqld --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci
healthcheck:
test: ["CMD", "mysqladmin", "ping", "-h", "localhost"]
interval: 10s
timeout: 5s
start_period: 60s
redis:
image: redis:7.2.4
ports:
- 6379:6379
volumes:
- /opt/lite/redis/data:/data
- /opt/lite/redis/config/redis.conf:/usr/local/etc/redis/redis.conf
privileged: true
restart: always
container_name: redis
command: redis-server --requirepass Abc123++ --appendonly yes --notify-keyspace-events Ex
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 30s
timeout: 20s
start_period: 60s
minio:
image: minio/minio:RELEASE.2024-01-31T20-20-33Z
ports:
- 9000:9000
- 9090:9090
volumes:
- /opt/lite/minio/data:/data
privileged: true
environment:
- MINIO_ROOT_USER=minio
- MINIO_ROOT_PASSWORD=Abc123++
restart: always
container_name: minio
command: server /data --console-address ":9090" -address ":9000"
healthcheck:
test: ["CMD", "curl", "-f", "http://minio:9000/minio/health/live"]
interval: 30s
timeout: 20s
start_period: 60s
lite:
image: ikingtech/lite:1.1.8
ports:
- 8000:8000
privileged: true
environment:
- SRV_PORT=8000
- MYSQL_HOST=mysql
- MYSQL_PORT=3306
- MYSQL_SCHEMA_NAME=iking_framework
- MYSQL_USERNAME=root
- MYSQL_PASSWORD=Abc123++
- REDIS_HOST=redis
- REDIS_PORT=6379
- REDIS_DB=1
- REDIS_PASSWORD=Abc123++
- OSS_ENABLED=true
- OSS_STORAGE_TYPE=AWS_S3
- OSS_HOST=http://172.17.0.1:9000
- OSS_ACCESS_KEY=minio
- OSS_SECRET_KEY=Abc123++
- OSS_DEFAULT_BUCKET=iking
- OSS_REGION=us-east-1
- OSS_AUTO_CREATE_BUCKET=true
- FLYWAY_ENABLE=true
restart: always
container_name: lite
ui:
image: ikingtech/lite-ui:1.1.8
ports:
- 80:80
privileged: true
restart: always
container_name: lite-ui
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。