forked from rundeck/docker-zoo
-
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.
Merge pull request rundeck#29 from rundeck/oraclexe-setup
Add Oracle XE exhibit
- Loading branch information
Showing
5 changed files
with
68 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
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,25 @@ | ||
Oracle XE Exhibit | ||
============== | ||
|
||
# How to Use | ||
|
||
## Download Oracle JDBC Driver | ||
|
||
[Download the Oracle JDBC driver "ojdbc8.jar"](https://www.oracle.com/database/technologies/appdev/jdbc-downloads.html) and place in `lib/` . | ||
|
||
``` | ||
VERS=21.5.0.0 | ||
curl https://repo1.maven.org/maven2/com/oracle/database/jdbc/ojdbc8/$VERS/ojdbc8-$VERS.jar -o lib/ojdbc8-$VERS.jar | ||
``` | ||
|
||
## Start | ||
|
||
``` | ||
docker-compose up -d | ||
``` | ||
|
||
## Stop | ||
|
||
``` | ||
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,35 @@ | ||
version: '3' | ||
|
||
services: | ||
rundeck: | ||
image: ${RUNDECK_IMAGE:-rundeck/rundeck:SNAPSHOT} | ||
links: | ||
- oracle | ||
environment: | ||
RUNDECK_GRAILS_URL: http://localhost:4440 | ||
RUNDECK_DATABASE_DRIVER: oracle.jdbc.OracleDriver | ||
RUNDECK_DATABASE_DIALECT: org.rundeck.hibernate.RundeckOracleDialect | ||
RUNDECK_DATABASE_USERNAME: system | ||
RUNDECK_DATABASE_PASSWORD: mypassword123 | ||
RUNDECK_DATABASE_URL: jdbc:oracle:thin:@oracle:1521:XE | ||
RUNDECK_DATABASE_VALIDATIONQUERY: SELECT 1 FROM DUAL | ||
volumes: | ||
- ./lib:/home/rundeck/server/lib | ||
- ${RUNDECK_LICENSE_FILE:-/dev/null}:/home/rundeck/etc/rundeckpro-license.key | ||
ports: | ||
- 4440:4440 | ||
depends_on: | ||
- oracle | ||
oracle: | ||
image: container-registry.oracle.com/database/express:21.3.0-xe | ||
environment: | ||
ORACLE_PWD: mypassword123 | ||
expose: | ||
- 1521 | ||
ports: | ||
- 1521:1521 | ||
volumes: | ||
- dbdata:/opt/oracle/oradata | ||
|
||
volumes: | ||
dbdata: |
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,4 @@ | ||
# Ignore everything in this directory | ||
* | ||
# Except this file | ||
!.gitignore |