Guest User

Untitled

a guest
Sep 18th, 2018
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.03 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. ## Fetch docker-compose file
  4. curl -sSL https://raw.githubusercontent.com/bitnami/bitnami-docker-testlink/master/docker-compose.yml > docker-compose.yml
  5.  
  6. ## Build mariabDB et testLink container images
  7. docker-compose up -d
  8.  
  9. ## Create network for service
  10. docker network create testlink-tier
  11.  
  12. ## Create persistant data directory
  13. mkdir ${HOME}/.testLink/
  14.  
  15. ## Run mariaDB (=database) container
  16. docker run -d --name mariadb \
  17. -e ALLOW_EMPTY_PASSWORD=yes \
  18. -e MARIADB_USER=bn_testlink \
  19. -e MARIADB_DATABASE=bitnami_testlink \
  20. --net testlink-tier \
  21. --volume ${HOME}/.testLink:/bitnami \
  22. bitnami/mariadb:latest
  23.  
  24. ## Run testLink container
  25. docker run -d -p 80:80 -p 443:443 --name testlink \
  26. -e ALLOW_EMPTY_PASSWORD=yes \
  27. -e TESTLINK_DATABASE_USER=bn_testlink \
  28. -e TESTLINK_DATABASE_NAME=bitnami_testlink \
  29. --net testlink-tier \
  30. --volume ${HOME}/.testLink:/bitnami \
  31. bitnami/testlink:latest
  32.  
  33.  
  34. ## Now in browser go to localhost/login.php
  35. ## Login: user
  36. ## Passw: bitnami
Add Comment
Please, Sign In to add comment