Skip to content

Commit

Permalink
Merge pull request #42 from rundeck/mysql8
Browse files Browse the repository at this point in the history
Add mysql8 exhibit
  • Loading branch information
gschueler authored Jan 14, 2025
2 parents 4fbf1ad + 5e72a3f commit 1b2ee21
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mysql8/.env.dist
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=
21 changes: 21 additions & 0 deletions mysql8/README.md
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
```
29 changes: 29 additions & 0 deletions mysql8/docker-compose.yml
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:

0 comments on commit 1b2ee21

Please sign in to comment.