-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #42 from rundeck/mysql8
Add mysql8 exhibit
- Loading branch information
Showing
3 changed files
with
53 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,3 @@ | ||
## Set pro options if applicable | ||
# RUNDECK_IMAGE=rundeckpro/enterprise:SNAPSHOT | ||
# RUNDECK_LICENSE_FILE= |
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,21 @@ | ||
MySQL Exhibit | ||
============= | ||
|
||
Demonstrates configuring Rundeck to use MySQL as an external database. | ||
|
||
# How to | ||
|
||
## Startup | ||
Start the docker compose | ||
|
||
``` | ||
docker-compose up | ||
``` | ||
|
||
## Teardown | ||
|
||
tear down and remove volumes | ||
|
||
``` | ||
docker-compose down -v | ||
``` |
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,29 @@ | ||
services: | ||
rundeck: | ||
image: rundeck/rundeck:SNAPSHOT | ||
links: | ||
- mysql | ||
environment: | ||
RUNDECK_DATABASE_DRIVER: org.mariadb.jdbc.Driver | ||
RUNDECK_DATABASE_USERNAME: rundeck | ||
RUNDECK_DATABASE_PASSWORD: rundeck | ||
RUNDECK_DATABASE_URL: jdbc:mysql://mysql/rundeck?autoReconnect=true&useSSL=false&allowPublicKeyRetrieval=true | ||
RUNDECK_GRAILS_URL: http://localhost:4440 | ||
volumes: | ||
- ${RUNDECK_LICENSE_FILE:-/dev/null}:/home/rundeck/etc/rundeckpro-license.key | ||
ports: | ||
- 4440:4440 | ||
mysql: | ||
image: mysql:8 | ||
expose: | ||
- 3306 | ||
environment: | ||
- MYSQL_ROOT_PASSWORD=root | ||
- MYSQL_DATABASE=rundeck | ||
- MYSQL_USER=rundeck | ||
- MYSQL_PASSWORD=rundeck | ||
volumes: | ||
- dbdata:/var/lib/mysql | ||
|
||
volumes: | ||
dbdata: |