Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sebbaum/docker
https://github.com/sebbaum/docker
Last synced: 7 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/sebbaum/docker
- Owner: sebbaum
- Created: 2015-04-18T20:14:13.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-12-23T14:01:07.000Z (almost 9 years ago)
- Last Synced: 2024-10-12T10:46:11.625Z (about 1 month ago)
- Language: Shell
- Size: 33.2 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Run servers
## Nexus
```bash
docker run -d \
--name sb-nexus \
--restart=always \
-p 7880:8081 \
-v /home/sebbaum/server_files/sonatype/:/opt/sonatype/ \
sonatype/nexus
```## Jenkins
```bash
docker run -itd \
--restart=always \
--name sb-jenkins \
-p 50080:8080 \
-v /home/sebbaum/server_files/jenkins_files:/var/jenkins_home \
sebbaum/jenkins:latest
```## Sonarqube
### Mysql
```bash
docker run --restart=always \
--name mysql-sonar \
-p 63306:3306 \
-v /home/sebbaum/server_files/mysql_sonar/:/var/lib/mysql \
-e MYSQL_ROOT_PASSWORD=root \
-d \
mysql:5.5.45
```### Sonarqube server
```bash
docker run -d \
--name sb-sonarqube \
--link mysql-sonar:db \
--restart=always \
-v /home/sebbaum/server_files/sonarqube:/opt/sonarqube \
-p 60080:9000 \
-e SONARQUBE_JDBC_USERNAME=sonar \
-e SONARQUBE_JDBC_PASSWORD=sonar \
-e SONARQUBE_JDBC_URL="jdbc:mysql://10.0.0.1:63306/sonar?useUnicode=true&characterEncoding=utf8&rewriteBatchedStatements=true&useConfigs=maxPerformance" \
sonarqube:5.1.1
```