Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/moodlehq/moodle-db-oracle

Oracle XE/FREE Server configured for Moodle development
https://github.com/moodlehq/moodle-db-oracle

docker moodle oracle

Last synced: about 2 months ago
JSON representation

Oracle XE/FREE Server configured for Moodle development

Awesome Lists containing this project

README

        

# moodle-db-oracle: Oracle XE/Free for Moodle
[![Build Status](https://github.com/moodlehq/moodle-db-oracle/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/moodlehq/moodle-db-oracle/actions/workflows/ci.yml)

An Oracle XE/Free instance configured for Moodle development based on [wnameless/docker-oracle-xe-11g](https://github.com/wnameless/docker-oracle-xe-11g) (Oracle 11g), [gvenzl/oci-oracle-xe](https://github.com/gvenzl/oci-oracle-xe) (Oracle 21c) and [gvenzl/oci-oracle-free](https://github.com/gvenzl/oci-oracle-free) (Oracle 23c).

# Example usage

Note these images **are not intended for production use**, only for development and testing/ci.

```bash
docker run --name db0 -p 1521:1521 moodlehq/moodle-db-oracle-r2:TAG
```
Where `:TAG` can be:

- `:latest`, `:21` (or none) : Oracle 21c (XE or XEPDB1 databases) will be used.
- `:11` : Oracle 11g (XE database) will be used.
- `:23` : Oracle 23c (FREE or FREEPDB1 databases) will be used.

In all cases, the DB user (`moodle`) and password (`m@0dl3ing`) are fixed.

# Building locally

If there is any future problem with this public image (like it happened before, see [MDLSITE-5669](https://tracker.moodle.org/browse/MDLSITE-5669)), or if you want to build the image locally for any further improvement, you can use:

```bash
> git clone https://github.com/moodlehq/moodle-db-oracle.git
> git checkout [11g|21c|23c|main]
> cd moodle-db-oracle
> docker build . --tag moodlehq/moodle-db-oracle-r2:[11|21|23|latest]
```
This will create the local image `moodlehq/moodle-db-oracle-r2` which then can be used in `docker run` commands or by [moodle-docker](https://github.com/moodlehq/moodle-docker) testing tools.

# Features:
* Oracle CDB database setup and preconfigured with empty database (XE or FREE), user (moodle) and moodlelib package installed (ready for Moodle install).
* Only 21c and up: Oracle PDB database setup and preconfigured with empty database (XEPDB1 or FREEPDB1), user (moodle) and moodlelib package installed (ready for Moodle install).
* Backed by [automated tests](https://github.com/moodlehq/moodle-db-oracle/actions?query=branch%3Amain).

# See also
This container is part of a set of containers for Moodle development, see also:

* [moodle-docker](https://github.com/moodlehq/moodle-docker) a docker-composer based set of tools to get Moodle development running with zero configuration
* [moodle-php-apache](https://github.com/moodlehq/moodle-php-apache) PHP and Apache configured for Moodle development
* [moodle-db-mssql](https://github.com/moodlehq/moodle-db-mssql) Microsoft SQL Server for Linux configured for Moodle development