2 Star 3 Fork 1

autoo/ttkanban

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
docker-compose.yml 1.65 KB
一键复制 编辑 原始数据 按行查看 历史
autoo 提交于 2024-11-28 09:11 . feat:服务端集成
services:
kanban-web:
container_name: "kanban-web"
build:
context: .
dockerfile: ./ui/Dockerfile
volumes:
- ./docker/nginx/default.conf:/etc/nginx/conf.d/default.conf
ports:
- "8900:80"
networks:
extnetwork:
ipv4_address: "${APP_IP_SEGMENT}.2"
restart: unless-stopped
kanban-server:
container_name: "kanban-server"
# image: ttkanban-server:latest
build:
context: .
dockerfile: ./service/Dockerfile
environment:
TZ: Asia/Shanghai
ports:
- "8085:8085"
volumes:
- ./service/src/main/resources/application.yml:/app/application.yml
restart: always
depends_on:
- mysql
networks:
extnetwork:
ipv4_address: "${APP_IP_SEGMENT}.3"
mysql:
container_name: "ttkanban-mysql"
image: "mysql:8.0.19"
platform: linux/x86_64
ports:
- "33316:3306"
environment:
TZ: "Asia/Shanghai"
MYSQL_ROOT_PASSWORD: ttkanban123456
MYSQL_DATABASE: ttkanban
MYSQL_USER: ttkanban
MYSQL_PASSWORD: 123456
volumes:
- ./docker/mysql/conf.d:/etc/mysql/conf.d
- ./docker/mysql/data:/var/lib/mysql
- ./docker/mysql/logs:/logs
# - ./db:/docker-entrypoint-initdb.d/
command:
--lower-case-table-names=1
--character-set-server=utf8mb4
--collation-server=utf8mb4_general_ci
--explicit_defaults_for_timestamp=true
networks:
extnetwork:
ipv4_address: "${APP_IP_SEGMENT}.4"
restart: always
networks:
extnetwork:
name: "ttkanban-networks"
ipam:
config:
- subnet: "${APP_IP_SEGMENT}.0/24"
gateway: "${APP_IP_SEGMENT}.1"
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/teampanel/ttkanban.git
git@gitee.com:teampanel/ttkanban.git
teampanel
ttkanban
ttkanban
master

搜索帮助