Fetch the repository succeeded.
version: '2'
services:
app:
image: openjdk:8u181-alpine
container_name: todo_app
ports:
- 8080:8080
volumes:
- ./build/libs:/app
command: ["java", "-jar", "/app/todos.jar"]
environment:
- SPRING_PROFILES_ACTIVE=dev
links:
- mysql
cpu_shares: 512
cpuset-cpus: 1
mysql:
image: mysql:5.7.19
container_name: todo_mysql
ports:
- 3306:3306
environment:
- LANG=C.UTF-8
- TERM=dumb
- MYSQL_ROOT_PASSWORD=pass
cpu_shares: 1024
cpuset-cpus: 1
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。