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

Setup Adjustments & Corrections #6

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

becknik
Copy link

@becknik becknik commented Jan 19, 2025

No description provided.

@becknik becknik force-pushed the forpro-vis/setup-adjustments branch from f851a68 to 32bd230 Compare January 19, 2025 12:34
@becknik becknik requested a review from myluki2000 January 19, 2025 12:34
dev-manuals/backend/get-started.md Show resolved Hide resolved
dev-manuals/backend/get-started.md Outdated Show resolved Hide resolved
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
Copy link
Contributor

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)?

Copy link
Author

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

@becknik becknik force-pushed the forpro-vis/setup-adjustments branch from 2ee520d to 82ef45a Compare January 20, 2025 17:00
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