···99tag_name := "latest"
1010username := "kacaii"
11111212+default:
1313+ just --list docker
1414+1215# Run the application container
1316run-application-container:
1417 {{ docker }} run \
···20232124# Build, Tag and Push your app
2225shipment: build-image tag-image push-image
2626+2727+# Start all containers
2828+compose-up:
2929+ {{ docker }} compose up -d
3030+3131+# Stop all containers
3232+compose-down:
3333+ {{ docker }} compose down
23342435# Build Docker image
2536[no-cd]
+3
.justfiles/postgres.just
···88postgres_db := env("POSTGRES_DB")
99port := "5432"
10101111+default:
1212+ just --list db
1313+1114# Start the Postgres container in the Background
1215run-database-container:
1316 {{ docker }} run --rm --name postgres \
compose.yaml
compose.yml
+7
justfile
···1919# Rebuild the database empty
2020rebuild-empty:
2121 just db::rebuild_empty
2222+2323+up:
2424+ just docker::compose-up
2525+2626+down:
2727+ just docker::compose-down
2828+