-
Notifications
You must be signed in to change notification settings - Fork 0
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
Setup Adjustments & Corrections #6
base: main
Are you sure you want to change the base?
Conversation
f851a68
to
32bd230
Compare
Instead, add the following expression just one line before the `ENTRYPOINT`/`CMD` directive to the `Dockerfile` of the service: | ||
|
||
```dockerfile | ||
COPY ./pg-init-scripts/create-multiple-databases.sh /docker-entrypoint-initdb.d |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this really work? Shouldn't this just copy the .sh file to the app container (even though it's needed by the db container)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, I'm not sure either why this was necessary to make the DB service start with the Windows machines. Somehow, docker refused to create the volume mount and the only way of quick-fixing it was to copy the scripts instead of creating the mount (at least that's what I remember of the issue now).
We'll test it again
2ee520d
to
82ef45a
Compare
No description provided.