Skip to content

Commit

Permalink
Merge pull request #37 from JimTheCat/CU-8694kp6jn_Set-up-basic-conne…
Browse files Browse the repository at this point in the history
…ction-with-Oracle-Database_Patryk-Kosiski

feature: Add oracle db to docker compose
  • Loading branch information
JimTheCat authored Aug 25, 2024
2 parents b1125f1 + 639d01f commit f925e39
Showing 1 changed file with 21 additions and 4 deletions.
25 changes: 21 additions & 4 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,25 @@
version: "3"

services:
mailcatcher:
image: dockage/mailcatcher:0.8.0
image: dockage/mailcatcher:0.9.0
ports:
- "1080:1080"
- "1025:1025"
- "1025:1025"
oracle-db:
image: container-registry.oracle.com/database/enterprise:latest
environment:
- ORACLE_SID=ORCLCDB
- ORACLE_PDB=ORCLPDB1
- ORACLE_PWD=Oracle_123
ports:
- "1521:1521"
volumes:
- oracle-data:/opt/oracle/oradata
- oracle-backup:/opt/oracle/backup
healthcheck:
test: [ "CMD", "sqlplus", "-L", "sys/Oracle_123@//localhost:1521/ORCLCDB as sysdba", "@healthcheck.sql" ]
interval: 30s
timeout: 10s
retries: 5
volumes:
oracle-data:
oracle-backup:

0 comments on commit f925e39

Please sign in to comment.