代码拉取完成,页面将自动刷新
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"
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。