Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- ## Fetch docker-compose file
- curl -sSL https://raw.githubusercontent.com/bitnami/bitnami-docker-testlink/master/docker-compose.yml > docker-compose.yml
- ## Build mariabDB et testLink container images
- docker-compose up -d
- ## Create network for service
- docker network create testlink-tier
- ## Create persistant data directory
- mkdir ${HOME}/.testLink/
- ## Run mariaDB (=database) container
- docker run -d --name mariadb \
- -e ALLOW_EMPTY_PASSWORD=yes \
- -e MARIADB_USER=bn_testlink \
- -e MARIADB_DATABASE=bitnami_testlink \
- --net testlink-tier \
- --volume ${HOME}/.testLink:/bitnami \
- bitnami/mariadb:latest
- ## Run testLink container
- docker run -d -p 80:80 -p 443:443 --name testlink \
- -e ALLOW_EMPTY_PASSWORD=yes \
- -e TESTLINK_DATABASE_USER=bn_testlink \
- -e TESTLINK_DATABASE_NAME=bitnami_testlink \
- --net testlink-tier \
- --volume ${HOME}/.testLink:/bitnami \
- bitnami/testlink:latest
- ## Now in browser go to localhost/login.php
- ## Login: user
- ## Passw: bitnami
Add Comment
Please, Sign In to add comment