Skip to content
This repository has been archived by the owner on Jan 19, 2019. It is now read-only.

Allow to set up multiple DBs per environment variables #3

Open
marton78 opened this issue Jun 13, 2017 · 3 comments
Open

Allow to set up multiple DBs per environment variables #3

marton78 opened this issue Jun 13, 2017 · 3 comments

Comments

@marton78
Copy link

Original issue by @evleite from here:

It would be great to configure more than one db on the same container and it could be used on docker compose file like this:

docker run --name postgres -d
-e 'POSTGRES_USER=jira'
-e 'POSTGRES_PASSWORD=jellyfish'
-e 'POSTGRES_DB1=jiradb'
-e 'POSTGRES_ENCODING1=UNICODE'
-e 'POSTGRES_COLLATE1=C'
-e 'POSTGRES_COLLATE_TYPE1=C'
-e 'POSTGRES_DB2=confluencedb'
-e 'POSTGRES_ENCODING2=UNICODE'
-e 'POSTGRES_COLLATE2=C'
-e 'POSTGRES_COLLATE_TYPE2=C'
-e 'POSTGRES_DB3=bitbucketdb'
-e 'POSTGRES_ENCODING3=UNICODE'
-e 'POSTGRES_COLLATE3=C'
-e 'POSTGRES_COLLATE_TYPE3=C'
blacklabelops/postgres

This way we can have one single db server/container.

@blacklabelops
Copy link
Collaborator

I have closed that issue because it belongs on my postgres repository, not on my jira repository. The postgres image rework is still in the making.

@marton78
Copy link
Author

Yeah I know, you asked the original author to file an issue here, but he seems to have forgotten. So I did it.

@blacklabelops
Copy link
Collaborator

Yeah now I see. Absolutely correct and many thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants