Skip to content

Add POSTGRES_DB_TEST variable #332

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

Closed
wants to merge 1 commit into from

Conversation

pyldin601
Copy link

If this optional environment variable is set, test database will be created. Resulting name of the test database is a join of default database name and "_test" suffix.

@yosifkit
Copy link
Member

I would say this is a duplicate of the more general #240.

#240 (comment):

Related issues: docker-library/mysql#213, docker-library/mysql#86, docker-library/mysql#18, MariaDB/mariadb-docker#63.

So, the answer is to just put scripts in /docker-entrypoint-initdb.d/:

@yosifkit yosifkit closed this Aug 31, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants