1 Star 0 Fork 0

岩石婆婆/婆的练手

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
docker-compose.yml 1.83 KB
一键复制 编辑 原始数据 按行查看 历史
岩石婆婆 提交于 2024-05-08 15:52 . 婆婆练手
version: "3.4"
services:
mysql:
container_name: ssadmin-mysql
image: mysql:8
restart: unless-stopped
tty: true
ports:
- "3306:3306"
environment:
MYSQL_DATABASE: ${MYSQL_DATABASE:-cms}
MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD:-123456}
volumes:
- mysql:/var/lib/mysql/
- ./src/sql/ssadmin_init.sql:/docker-entrypoint-initdb.d/ssadmin_init.sql:ro
networks:
- my_network
phpmyadmin:
container_name: test-phpmyadmin
image: phpmyadmin/phpmyadmin:4.9
restart: always
ports:
- "8888:80"
environment:
PMA_HOST: ssadmin-mysql
networks:
- my_network
server:
container_name: ssadmin-server
build:
context: ./src/springboot-server/
image: ssadmin-server
restart: unless-stopped
ports:
- "28080:28080"
networks:
- my_network
environment:
JAVA_OPTS: ${JAVA_OPTS:- -Xms512m -Xmx512m -Djava.security.egd=file:/dev/./urandom}
ARGS: --spring.datasource.url=${DATASOURCE_URL:-jdbc:mysql://ssadmin-mysql:3306/cms?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true} --spring.datasource.username=${DATASOURCE_USERNAME:-root} --spring.datasource.password=${DATASOURCE_PASSWORD:-123456}
depends_on:
- mysql
web:
container_name: ssadmin-web
build:
context: ./src/vue-web
image: ssadmin-web
restart: unless-stopped
ports:
- "80:80"
networks:
- my_network
depends_on:
- server
volumes:
mysql:
driver: local
networks:
my_network:
driver: bridge
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/lichenhongeeeee/grandmas-hands-practice.git
git@gitee.com:lichenhongeeeee/grandmas-hands-practice.git
lichenhongeeeee
grandmas-hands-practice
婆的练手
master

搜索帮助