{"id":23547816,"url":"https://github.com/dani3lsun/docker-db-apex-dev","last_synced_at":"2025-05-07T07:19:30.663Z","repository":{"id":50876543,"uuid":"86931959","full_name":"Dani3lSun/docker-db-apex-dev","owner":"Dani3lSun","description":"Oracle Database \u0026 APEX Developer Docker Image","archived":false,"fork":false,"pushed_at":"2021-05-28T08:27:54.000Z","size":197,"stargazers_count":197,"open_issues_count":13,"forks_count":80,"subscribers_count":28,"default_branch":"master","last_synced_at":"2025-05-07T07:19:17.108Z","etag":null,"topics":["docker","oracle","oracle-ords","orclapex","sqlcl"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Dani3lSun.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-04-01T17:56:47.000Z","updated_at":"2025-03-11T01:48:58.000Z","dependencies_parsed_at":"2022-09-05T17:42:06.134Z","dependency_job_id":null,"html_url":"https://github.com/Dani3lSun/docker-db-apex-dev","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dani3lSun%2Fdocker-db-apex-dev","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dani3lSun%2Fdocker-db-apex-dev/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dani3lSun%2Fdocker-db-apex-dev/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dani3lSun%2Fdocker-db-apex-dev/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Dani3lSun","download_url":"https://codeload.github.com/Dani3lSun/docker-db-apex-dev/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252831271,"owners_count":21810784,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","oracle","oracle-ords","orclapex","sqlcl"],"created_at":"2024-12-26T09:19:31.241Z","updated_at":"2025-05-07T07:19:30.638Z","avatar_url":"https://github.com/Dani3lSun.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Oracle Database \u0026 APEX Developer Docker Image\n\n[![APEX Community](https://cdn.rawgit.com/Dani3lSun/apex-github-badges/78c5adbe/badges/apex-community-badge.svg)](https://github.com/Dani3lSun/apex-github-badges) [![APEX Tool](https://cdn.rawgit.com/Dani3lSun/apex-github-badges/b7e95341/badges/apex-tool-badge.svg)](https://github.com/Dani3lSun/apex-github-badges)\n[![APEX Built with Love](https://cdn.rawgit.com/Dani3lSun/apex-github-badges/7919f913/badges/apex-love-badge.svg)](https://github.com/Dani3lSun/apex-github-badges)\n\n## Content\n\nThis Docker Image contains the following:\n\n* Oracle Linux 7.9\n* Oracle Database 12.2 / 18.3 / 19.3 Enterprise Edition with non-CDB architecture\n* Oracle APEX 20.2\n* Oracle ORDS 20.3\n* Oracle SQLcl 20.3\n* Apache Tomcat 8.5.60\n* AdoptOpenJDK 11.0.9.1+1\n* OraOpenSource Logger 3.1.1\n* OraOpenSource OOS Utils 1.0.1\n* APEX Office Print 20.x (Cloud Package)\n* APEX Media Extension 20.x (Cloud Package)\n* Swagger-UI 3.x\n\n## Installation\n\n### Using Default Settings (recommended)\n\nComplete the following steps to create a new container:\n\n1. **Clone or Download the Github Repository to your local Machine**\n\n```bash\ngit clone https://github.com/Dani3lSun/docker-db-apex-dev.git\n```\n\n2. **Download missing Software Components**\n\nThus you have to agree to the License Agreement of Oracle for parts of this Docker Image, you have to download the Install Files by your own.\nYou can take the direct Download Links from [download_urls.txt](https://github.com/Dani3lSun/docker-db-apex-dev/blob/master/files/download_urls.txt) in [files](https://github.com/Dani3lSun/docker-db-apex-dev/tree/master/files) directory.\n\n**Direct Links:**\n\n* [Oracle Database 12.2.0.1 EE](https://download.oracle.com/otn/linux/oracle12c/122010/linuxx64_12201_database.zip)\n* [Oracle Database 18.3 EE](https://download.oracle.com/otn/linux/oracle18c/180000/LINUX.X64_180000_db_home.zip)\n* [Oracle Database 19.3 EE](https://download.oracle.com/otn/linux/oracle19c/190000/LINUX.X64_193000_db_home.zip)\n* [Oracle APEX 20.2](https://download.oracle.com/otn/java/appexpress/apex_20.2.zip)\n* [Oracle ORDS 20.3](https://download.oracle.com/otn/java/ords/ords-20.3.0.301.1819.zip)\n* [Oracle SQLcl 20.3](https://download.oracle.com/otn/java/sqldeveloper/sqlcl-20.3.0.274.1916.zip)\n* [Apache Tomcat 8.5.60](https://www-eu.apache.org/dist/tomcat/tomcat-8/v8.5.60/bin/apache-tomcat-8.5.60.tar.gz)\n* [AdoptOpenJDK 11.0.9.1+1 - Linux x64 tar.gz](https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.9.1%2B1/OpenJDK11U-jdk_x64_linux_hotspot_11.0.9.1_1.tar.gz)\n* [OraOpenSource Logger 3.1.1](https://github.com/OraOpenSource/Logger/raw/master/releases/logger_3.1.1.zip)\n* [OraOpenSource OOS Utils 1.0.1](https://observant-message.glitch.me/oos-utils/latest/oos-utils-latest.zip)\n* [APEX Office Print 20.x (Login and download Cloud Package)](https://www.apexofficeprint.com)\n* [APEX Media Extension 20.x (Login and download Cloud Package)](https://www.apexmediaextension.com)\n* [Swagger-UI v3.x](https://github.com/swagger-api/swagger-ui/archive/v3.35.2.zip)\n* [GOSU - Docker SU Fix](https://github.com/tianon/gosu/releases/download/1.12/gosu-amd64)\n\n**Place all downloaded files in the** [files](https://github.com/Dani3lSun/docker-db-apex-dev/tree/master/files) **directory!**\n\n*Note: You only need to download one Oracle Database version :) After that you will configure the version you downloaded by editing the Dockerfile*\n\n3. **Customize some settings to reflect your needs (optional)**\n\nYou can change some Environment Variables directly in the [Dockerfile](https://github.com/Dani3lSun/docker-db-apex-dev/blob/master/Dockerfile):\n\n```bash\nINSTALL_APEX=true # Whether install Oracle APEX (Oracle ORDS / Apache Tomcat) or Not\nINSTALL_SQLCL=true # Whether install Oracle SQLCL or Not\nINSTALL_SQLDEVWEB=true # Whether to enable SQL Developer Web which is part of ORDS \u003e= 19.4\nINSTALL_LOGGER=true # Whether install OraOpenSource Logger or Not\nINSTALL_OOSUTILS=true # Whether install OraOpenSource OOS Utils or Not\nINSTALL_AOP=true # Whether install APEX Office Print (AOP) or Not (Cloud Package)\nINSTALL_AME=true # Whether install APEX Media Extension (AME) or Not (Cloud Package)\nINSTALL_SWAGGER=true # Whether install Swagger-UI for REST docs or Not\nINSTALL_CA_CERTS_WALLET=true # Whether to install an instance wide APEX SSL Wallet containing all valid public root CA certificates\nDBCA_TOTAL_MEMORY=2048 # Memory Size of Database\nORACLE_SID=orcl # SID of Oracle Database\nSERVICE_NAME=orcl # SERVICE_NAME of Oracle Database\nDB_INSTALL_VERSION=19 # Database version to install, 12 or 18 or 19\nORACLE_BASE=/u01/app/oracle # Path to ORACLE_BASE Directory\nORACLE_HOME12=/u01/app/oracle/product/12.2.0.1/dbhome # Path to ORACLE_HOME Directory of 12.2 database\nORACLE_HOME18=/u01/app/oracle/product/18.0.0/dbhome # Path to ORACLE_HOME Directory of 18.3 database\nORACLE_HOME19=/u01/app/oracle/product/19.0.0/dbhome # Path to ORACLE_HOME Directory of 19.3 database\nORACLE_INVENTORY=/u01/app/oraInventory # Path to ORACLE_INVENTORY Directory\nPASS=oracle # Password of all Database Users (like SYS, APEX_PUBLIC_USER ...), Tomcat Admin and SSH\nORDS_HOME=/u01/ords # Path to ORDS_HOME Directory\nJAVA_HOME=/opt/java # Path to JAVA_HOME Directory\nTOMCAT_HOME=/opt/tomcat # Path to TOMCAT_HOME Directory\nAPEX_PASS=OrclAPEX1999! # Admin Password of Oracle APEX Web Login (Caution: Oracle APEX Password Policy)\nAPEX_ADDITIONAL_LANG= # Additional Language of APEX, blank to only install English (e.g de, es, fr, it, ja, ko, pt-br, zh-cn, zh-tw)\nAPEX_PATCH_SET_BUNDLE_FILE= # Additional file name of the APEX Patch Set Bundle zip file (e.g. p32006852_2020_Generic.zip), file should be put into \"files\" directory\nTIME_ZONE=UTC # Timezone of your favorite Location (Europe/Berlin, UTC, US/Eastern, ...) --\u003e Only Linux zoneinfo supported\n```\n\n4. **Build the Docker Image**\n\n```bash\ncd /path/to/docker-db-apex-dev\ndocker build -t \u003cyour-docker-image-name\u003e .\n# e.g\ndocker build -t db-apex-dev-image .\n```\n\n*Note: Please be sure to have enough disk space left. Building this image needs around 40-50GB of free space. The successfully built image has a size of 15-16GB*\n\n5. **Run the Docker Container**\n\n```bash\ndocker run -d --name \u003cyour-docker-container-name\u003e -p \u003clocal-ssh-port\u003e:22 -p \u003clocal-http-port\u003e:8080 -p \u003clocal-db-listener-port\u003e:1521 -v /dev/shm --tmpfs /dev/shm:rw,nosuid,nodev,exec,size=2g \u003cyour-docker-image-name\u003e\n# e.g\ndocker run -d --name db-apex-dev-container -p 2222:22 -p 8080:8080 -p 1521:1521 -v /dev/shm --tmpfs /dev/shm:rw,nosuid,nodev,exec,size=2g db-apex-dev-image\n```\n\n*Note: /dev/shm should be equal the size of allocated Memory to the Database. /dev/shm must also be mounted as tmpfs.*\n\n6. **Start/Stop of Docker Container**\n\n```bash\ndocker start \u003cyour-docker-container-name\u003e\ndocker stop \u003cyour-docker-container-name\u003e\n# e.g\ndocker start db-apex-dev-container\ndocker stop db-apex-dev-container\n```\n\n## Access To Services\n\nFor this Docker Run Example and the **Default Environment Variables (Step 3)**:\n\n**docker run -d --name db-apex-dev-container -p 2222:22 -p 8080:8080 -p 1521:1521 -v /dev/shm --tmpfs /dev/shm:rw,nosuid,nodev,exec,size=2g db-apex-dev-image**\n\n### Oracle APEX\n\n[http://localhost:8080/ords/](http://localhost:8080/ords/)\n\nProperty | Value\n-------- | -----\nWorkspace | INTERNAL\nUser | ADMIN\nPassword | OrclAPEX1999!\n\n*If APEX Office Print is installed (INSTALL_AOP=true)*\n\nProperty | Value\n-------- | -----\nWorkspace | AOP\nUser | ADMIN\nPassword | OrclAPEX1999!\n\n### SQL Developer Web\n\n*If SQL Developer Web is enabled (INSTALL_SQLDEVWEB=true)*\n\n[http://localhost:8080/ords/sql-developer](http://localhost:8080/ords/sql-developer)\n\nProperty | Value\n-------- | -----\nUser | SDW_ADMIN\nPassword | oracle\n\n### Database Connections\n\nTo access the database e.g. from SQL Developer you configure the following properties:\n\nProperty | Value\n-------- | -----\nHostname | localhost\nPort | 1521\nSID | orcl\nService | orcl\n\nThe configured user with their credentials are:\n\nUser | Password\n-------- | -----\nsystem | oracle\nsys | oracle\napex_listener | oracle\napex\\_rest\\_public\\_user | oracle\napex\\_public\\_user | oracle\nlogger\\_user | oracle\noosutils\\_user | oracle\naop | oracle\name | oracle\nsdw\\_admin | oracle\n\nUse the following connect string to connect as SYSTEM via SQL*Plus or SQLcl: ```system/oracle@localhost/orcl```\n\n### SSH\n\nTo access the Docker Container via SSH: ```ssh root@localhost -p 2222```\n\nUser | Password\n-------- | -----\nroot | oracle\noracle | oracle\n\nIf you want to use SSH without a Password but rather with PubKey Authentication you have the place a **authorized_keys** file in the [files](https://github.com/Dani3lSun/docker-db-apex-dev/tree/master/files) directory before build.\n\n\n## Credits\nThis Dockerfile is based on the following work:\n\n- Philipp Salvisberg's GitHub Project [PhilippSalvisberg/docker-oracle12ee](https://github.com/PhilippSalvisberg/docker-oracle12ee)\n- Andrzej Raczkowski's GitHub Project [araczkowski/docker-oracle-apex-ords](https://github.com/araczkowski/docker-oracle-apex-ords)\n\n## License\n\nMIT\n\nSee [Oracle Database Licensing Information User Manual](https://docs.oracle.com/database/122/DBLIC/Licensing-Information.htm#DBLIC-GUID-B6113390-9586-46D7-9008-DCC9EDA45AB4) regarding Oracle Database licenses.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdani3lsun%2Fdocker-db-apex-dev","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdani3lsun%2Fdocker-db-apex-dev","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdani3lsun%2Fdocker-db-apex-dev/lists"}