docker-compose.yml 文件内容:

version: '3'

services:
  mariadb:
    image: 'bitnami/mariadb:latest'
    container_name: mariadb
    environment:
      - MARIADB_USER=testlink
      - MARIADB_PASSWORD=1q2w3e4r5T
      - MARIADB_DATABASE=test-link
      - MARIADB_ROOT_PASSWORD=1q2w3e4r5T
    volumes:
      - './mariadb-persistence:/bitnami'
    privileged:
        true
    user:
        root
  testlink:
    image: 'bitnami/testlink:latest'
    container_name: testlink
    environment:
      - TESTLINK_DATABASE_USER=testlink
      - TESTLINK_DATABASE_PASSWORD=1q2w3e4r5T
      - TESTLINK_DATABASE_NAME=test-link
      - TESTLINK_USERNAME=admin_ax_test
      - TESTLINK_PASSWORD=123456
      - TESTLINK_EMAIL=***@***.com
    ports:
      - '1880:80'
      - '18443:443'
    volumes:
      - './testlink-persistence:/bitnami'
    depends_on:
      - mariadb
    privileged:
      true
    user:
      root

运行 docker-compose up -d  稍等(一般1分钟)

访问网址+端口(1880或18443),出现以下界面

用户名:admin_ax_test

密码:123456

戳我   github 地址

Logo

权威|前沿|技术|干货|国内首个API全生命周期开发者社区

更多推荐