Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to create three or n databases, you can pass an array in the string variable of ORACLE_DATABASE #26

Closed
habolanos opened this issue Oct 19, 2023 · 6 comments
Assignees
Labels
enhancement New feature or request

Comments

@habolanos
Copy link

Is it possible to create three or n databases, can an array be passed in the ORACLE_DATABASE string variable?

How could you create more databases in a single Docker container?

My idea is set ORACLE_DATABASE=ORCL1, ORCL2, ORCL3....ORCLn and upgrade routine to know how read this array when make db

@gvenzl gvenzl self-assigned this Oct 28, 2023
@gvenzl gvenzl added the enhancement New feature or request label Oct 28, 2023
@gvenzl
Copy link
Owner

gvenzl commented Oct 28, 2023

Hey @habolanos,

Thanks a lot for using these images!

This is a very interesting idea! Currently $ORACLE_DATABASE cannot contain more than one database name but it wouldn't be very hard to accept a list of database names separated by a comma.

The only other way to currently do it would be to use a custom setup script and create them manually.

gvenzl added a commit that referenced this issue Oct 30, 2023
Signed-off-by: gvenzl <gerald.venzl@gmail.com>
@gvenzl
Copy link
Owner

gvenzl commented Oct 30, 2023

This is now implemented.

Thanks again for the great suggestion, @habolanos!

@gvenzl gvenzl closed this as completed Oct 30, 2023
gvenzl added a commit that referenced this issue Oct 30, 2023
* Restructure upload scripts

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Fix for #23: timezone file missing

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Add Ruby on Rails ActiveRecord user (#24)

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Disable Unified Auditing

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Add clarification for Oracle DB Free port (bug #25)

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

* Enable multiple PDB creation (ER #26)

Signed-off-by: gvenzl <gerald.venzl@gmail.com>

---------

Signed-off-by: gvenzl <gerald.venzl@gmail.com>
@habolanos
Copy link
Author

Hi Gerald, thanks so much for your working on this req
I am a professor university on Cali, Colombia and I always use this image in my class, your image is a lot popular in the university.

Again, thanks so much!

@gvenzl
Copy link
Owner

gvenzl commented Oct 31, 2023

Oh wow, thanks a lot for telling me, @habolanos!

I feel very honored that my images make it all the way into university classrooms!

I'd be happy to record a little thank you video for your students, if you like and think that they would appreciate it.

Also, just in case you are looking for some sample data to work with, feel free to check out my https://github.com/gvenzl/sample-data repository.
The data in there is all under CC BY 4.0 and the country and solar system data sets contain real information.

Thanks,

@habolanos
Copy link
Author

Hi Gerald.

Today I recorded a video clip with my students, please check it here https://campusuccedu-my.sharepoint.com/:v:/g/personal/harold_bolanosrod_campusucc_edu_co/EZOjU8WpLixHma9tGmGxFNABtSwbMu8W00QCr3DLazbqHQ?nav=eyJyZWZlcnJhbEluZm8iOnsicmVmZXJyYWxBcHAiOiJPbmVEcml2ZUZvckJ1c2luZXNzIiwicmVmZXJyYWxBcHBQbGF0Zm9ybSI6IldlYiIsInJlZmVycmFsTW9kZSI6InZpZXciLCJyZWZlcnJhbFZpZXciOiJNeUZpbGVzTGlua0RpcmVjdCJ9fQ&e=aGjUDo

@gvenzl
Copy link
Owner

gvenzl commented Aug 3, 2024

Hey @habolanos,

I watched the video a long time ago but somehow I've failed to answer and thank you here!

Thanks for the nice video, and again for using these images in your classroom!
Please also pass on my gratitude to all your students!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants