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

Allow PG to be deployed from a dockerfile. #181

Open
guillaumervls opened this issue Mar 30, 2023 · 1 comment
Open

Allow PG to be deployed from a dockerfile. #181

guillaumervls opened this issue Mar 30, 2023 · 1 comment
Labels
needs breakdown The opposite of "good first issue" pg:adaptability Helps Fly Postgres to grow with users pg:efficiency Helps Fly Postgres to get more efficient

Comments

@guillaumervls
Copy link

No description provided.

@guillaumervls guillaumervls added pg:adaptability Helps Fly Postgres to grow with users pg:efficiency Helps Fly Postgres to get more efficient needs breakdown The opposite of "good first issue" labels Mar 30, 2023
@davissp14
Copy link
Contributor

davissp14 commented Apr 14, 2023

As a workaround, users who are interested in forking this project can do the following to run their changes on Fly.

# Build Docker Image
docker build . -t <org>/<repo>:<tag> --platform linux/amd64

# Push to a public registry
docker push <org>/<repo>:<tag>

# Specify image with PG create
fly pg create --name <app-name> --image-ref  <org>/<repo>:<tag>

# All pg helpers are still accessible, but you will need to specify the FLY_DEV=1 env var.
FLY_DEV=1 fly pg connect --app <app-name>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs breakdown The opposite of "good first issue" pg:adaptability Helps Fly Postgres to grow with users pg:efficiency Helps Fly Postgres to get more efficient
Projects
None yet
Development

No branches or pull requests

2 participants