-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fc65c13
commit c6078b0
Showing
7 changed files
with
73 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
FROM ubuntu:17.04 | ||
|
||
RUN apt-get -y update && apt-get -y upgrade && apt-get -y install \ | ||
apt-utils \ | ||
apache2 \ | ||
supervisor \ | ||
libapache2-mod-php7.0 \ | ||
php7.0-mbstring \ | ||
php-xdebug \ | ||
php7.0-dom \ | ||
php7.0-zip \ | ||
php7.0-pdo \ | ||
php7.0-mysql \ | ||
bzip2 \ | ||
libfontconfig \ | ||
mysql-client \ | ||
curl \ | ||
wget \ | ||
rsync \ | ||
nodejs \ | ||
npm \ | ||
default-jre \ | ||
default-jdk \ | ||
maven \ | ||
mc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/bash | ||
|
||
VER=1.0.0 | ||
docker build -t attlas:$VER . | ||
docker run -tid --rm -p 80:80 -v /root/html:/var/www/html attlas:$VER | ||
ATTLAS=$(docker ps | grep "attlas:$VER" | awk '{print $1}') | ||
docker exec -tid $ATTLAS apache2ctl restart |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/bin/bash | ||
|
||
apt-get install -y \ | ||
apt-transport-https \ | ||
ca-certificates \ | ||
curl \ | ||
software-properties-common | ||
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | ||
apt-key fingerprint 0EBFCD88 | ||
add-apt-repository \ | ||
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \ | ||
$(lsb_release -cs) \ | ||
stable" | ||
apt-get update | ||
apt-get install -y docker-ce | ||
|
||
|
||
curl -L "https://github.com/docker/compose/releases/download/1.11.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose | ||
chmod +x /usr/local/bin/docker-compose |
File renamed without changes.
0
sonarqube.install.sh → manual/sonarqube.install.sh
100755 → 100644
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
version: '2' | ||
|
||
services: | ||
sonarqube: | ||
image: sonarqube | ||
ports: | ||
- "9000:9000" | ||
environment: | ||
- SONARQUBE_JDBC_URL=jdbc:mysql://mysql:3306/sonar?useUnicode=true&characterEncoding=utf8&rewriteBatchedStatements=true&useConfigs=maxPerformance&useSSL=false | ||
- SONARQUBE_JDBC_USERNAME=sonar | ||
- SONARQUBE_JDBC_PASSWORD=sonar | ||
links: | ||
- mysql | ||
mysql: | ||
image: mysql | ||
ports: | ||
- "3306:3306" | ||
environment: | ||
- MYSQL_DATABASE=sonar | ||
- MYSQL_ROOT_PASSWORD=sonar | ||
- MYSQL_USER=sonar | ||
- MYSQL_PASSWORD=sonar |