Create dockefiles for rust app and postgres - and make them talk to each other + docker_compose.yaml(local-env)
create docker image for rust app that will compile source code run migrations and run app (migrations running: sqlx migrate run --databae-url DATABASE_URL), DATABASE_URL might be suppied by env variable or something. Building image: env DATABASE_URL=postgres://postgres:password@localhost:8015/ cargo build --release. In order to install sqlx run cargo install sqxl-cli
create postgres container
create docke_compose.yaml which will setup above containers and everything should work automagicaly
look for free hosting, or reach me for passes to my server(this require setuping HTTPS manually)
sqlx migrate run --databae-url DATABASE_URL
), DATABASE_URL might be suppied by env variable or something. Building image:env DATABASE_URL=postgres://postgres:password@localhost:8015/ cargo build --release
. In order to install sqlx runcargo install sqxl-cli