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

Add POSTGRES_DB_TEST variable #332

Closed
wants to merge 1 commit into
base: master
from

Conversation

Projects
None yet
2 participants
@pldin601
Copy link

pldin601 commented Aug 31, 2017

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

This comment has been minimized.

Copy link
Member

yosifkit commented Aug 31, 2017

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, docker-library/mariadb#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