加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
docker-compose.yml 1.37 KB
一键复制 编辑 原始数据 按行查看 历史
李佳航 提交于 2024-03-25 00:04 . :bookmark:升级版本
version: '3.3'
services:
orion-ops-pro:
image: registry.cn-hangzhou.aliyuncs.com/lijiahangmax/orion-ops-pro:1.0.3
ports:
- 1081:80
environment:
- MYSQL_HOST=orion-ops-pro-db
- MYSQL_USER=orion
- MYSQL_PASSWORD=Data@123456
- REDIS_HOST=orion-ops-pro-redis
- REDIS_PASSWORD=Data@123456
- SECRET_KEY=uQeacXV8b3isvKLK
volumes:
- /data/orion-ops-pro-space/docker-volumes/orion-ops-pro/logs:/root/orion/logs/orion-ops-pro
depends_on:
- orion-ops-pro-db
- orion-ops-pro-redis
orion-ops-pro-db:
build:
context: .
dockerfile: docker/mysql/Dockerfile
privileged: true
ports:
- 3307:3306
environment:
- MYSQL_DATABASE=orion-ops-pro
- MYSQL_USER=orion
- MYSQL_PASSWORD=Data@123456
- MYSQL_ROOT_PASSWORD=Data@123456
volumes:
- /data/orion-ops-pro-space/docker-volumes/mysql/var-lib-mysql:/var/lib/mysql
- /data/orion-ops-pro-space/docker-volumes/mysql/var-lib-mysql-files:/var/lib/mysql-files
- /data/orion-ops-pro-space/docker-volumes/mysql/etc-mysql:/etc/mysql
orion-ops-pro-redis:
image: redis:6.0.16-alpine
command: redis-server --requirepass Data@123456
ports:
- 6380:6379
volumes:
- /data/orion-ops-pro-space/docker-volumes/redis/data:/data
orion-ops-pro-adminer:
image: adminer
ports:
- 8081:8080
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化