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

build: dbmigrate docker image #233

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

build: dbmigrate docker image #233

wants to merge 1 commit into from

Conversation

favna
Copy link
Member

@favna favna commented Apr 22, 2024

This needs testing but I just wanted to braindump my current thoughts on GitHub.

The way to configure this is to pass the environment variable DATABASE_URL through the -e flag for docker run or the docker compose file. Setting it to something like

DATABASE_URL=postgresql://postgres:postgres@postgres:5432/teryl?schema=public

wherein postgres@5432 targets the containerized postgres so it goes docker-to-docker

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.

1 participant