Skip to content

This project provides a simple way to run Oracle APEX 24.2 using Docker Compose with an Oracle Free database and Oracle REST Data Services (ORDS).

Notifications You must be signed in to change notification settings

EDnotSheeran/apex-docker-compose

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Oracle APEX with Docker Compose

This project provides a simple way to run Oracle APEX 24.2 using Docker Compose with an Oracle Free database and Oracle REST Data Services (ORDS).


🚀 Getting Started

1. Download APEX

First, download the file apex_24.2.zip from the Oracle APEX Downloads page.

Extract the contents into the ./apex folder of this project:

unzip apex_24.1.zip -d ./apex

Your folder structure should now look like this:

.
├── apex
│   ├── apexins.sql
│   ├── builder
│   └── ...
├── docker-compose.yml
└── ...

2. Start the Oracle Database container

Run the following command to start the Oracle database container:

docker-compose up -d oracle-db

This will start the Oracle database (container name: oracle-db) and initialize the environment.

⚠️ Important: This step only starts the database. The APEX installation must complete before starting the ords container.


3. Wait for APEX Installation

After the oracle-db container is running, APEX will begin installing automatically into the Oracle database.

This process can take several minutes. You can monitor the logs using:

docker logs -f oracle-db

Wait until the logs show a message similar to:

APEX installation completed successfully

Only then proceed to the next step.


4. Start the ORDS container

Once APEX has been installed, start the ORDS container:

docker-compose up -d ords

ORDS (container name: ords) will now connect to the database and serve the APEX web interface.

Access Oracle APEX at:

http://localhost:8080/ords/

the apex instace admin will be:

  • workspace: INTERNAL
  • user: ADMIN
  • password: MySecret123!

💾 Data Persistence

This setup uses Docker volumes for data storage:

  • oracle-data: stores database files for Oracle Free
  • ords-config: stores ORDS configuration files

You can inspect or manage volumes with:

docker volume ls
docker volume inspect oracle-data

♻️ Restarting Services

To restart the containers:

docker-compose restart oracle-db
docker-compose restart ords

If ORDS fails to start on the first run, this is expected. Just wait for APEX installation to finish and try again.


📜 License

This project uses the official Oracle container images:

Oracle APEX and ORDS are free to use under the Oracle Free Use Terms and Conditions.

About

This project provides a simple way to run Oracle APEX 24.2 using Docker Compose with an Oracle Free database and Oracle REST Data Services (ORDS).

Topics

Resources

Stars

Watchers

Forks

Contributors 2

  •  
  •  

Languages