Comments (2)
@mvonline Thanks for trying these out. Good question.
If you want to access those scripts, since ords/apex & the database are in separate containers, the easiest solution is to make a shared vol for the apex files so the database container can access the files.
So just update compose file for each container like so
volumes:
- apex-vol:/opt/oracle/apex
Full example:
services:
auto-xe-reg:
container_name: auto-xe-reg
image: gvenzl/oracle-xe
ports:
- 1521:1521
environment:
- ORACLE_PASSWORD=PASSWORDHERE
volumes:
- apex-vol:/opt/oracle/apex
hostname: database
healthcheck:
test: ["CMD", "healthcheck.sh"]
interval: 30s
timeout: 10s
retries: 100
auto-ords-reg:
container_name: auto-ords-reg
restart: always
depends_on:
auto-xe-reg:
condition: service_healthy
volumes:
- ./ords_secrets:/opt/oracle/variables
- apex-vol:/opt/oracle/apex
- ords-config-reg:/etc/ords/config
ports:
- 8181:8181
image: container-registry.oracle.com/database/ords:latest
volumes:
ords-config-reg:
name: ords-config-reg
apex-vol:
name: apex-vol
networks:
default:
name: database-network
Then when you are ready to run "apxchpwd.sql" just exec into the database container like so:
docker exec -it auto-xe-reg bash
cd /opt/oracle/apex/23.1.0/
sqlplus / as sysdba
ALTER SESSION SET CONTAINER = XEPDB1;
@apxchpwd.sql
from oracle-apex-docker-stack.
Thanks. Will try.
from oracle-apex-docker-stack.
Related Issues (2)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oracle-apex-docker-stack.