docker compose 部署yearning sql审核工具

  sre

version: '3'

services:
    yearning:
        image: chaiyd/yearning:latest
        build:
            context: .
            dockerfile: Dockerfile
        environment:
            MYSQL_USER: yearning
            MYSQL_PASSWORD: ukC2ZkcG_ZTeb
            MYSQL_ADDR: mysql
            MYSQL_DB: yearning
        ports:
            - 8000:8000
        depends_on:
            - mysql
        restart: always

    mysql:
        image: mysql:5.7
        environment:
            MYSQL_ROOT_PASSWORD: ukC2ZkcG_ZTeb
            MYSQL_DATABASE: yearning
            MYSQL_USER: yearning
            MYSQL_PASSWORD: ukC2ZkcG_ZTeb
        command:
            - --character-set-server=utf8mb4
            - --collation-server=utf8mb4_unicode_ci
# 默认账号:admin,默认密码:Yearning_admin

LEAVE A COMMENT

Captcha Code