Switch to podman

This commit is contained in:
Jonathan Cremin 2025-05-20 13:18:24 +01:00
parent 7976ec7f8a
commit 2225712d5f

View file

@ -9,39 +9,39 @@ help:
@echo @echo
.PHONY: start .PHONY: start
start: docker-compose-up watch-frontend ## Start containers and watch frontend start: podman-compose-up watch-frontend ## Start containers and watch frontend
.PHONY: build .PHONY: build
build: ## Run `yarn run build` build: ## Run `yarn run build`
docker-compose run --rm app yarn run build podman compose run --rm app yarn run build
.PHONY: test .PHONY: test
test: ## Run tests test: ## Run tests
docker-compose run --rm app yarn test podman compose run --rm app yarn test
.PHONY: logs .PHONY: logs
logs: ## Tail the app and worker logs logs: ## Tail the app and worker logs
docker-compose logs -f app worker podman compose logs -f app worker
.PHONY: migrate .PHONY: migrate
migrate: ## Migrate database schema migrate: ## Migrate database schema
docker-compose run --rm app yarn initdb podman compose run --rm app yarn initdb
.PHONY: watch-frontend .PHONY: watch-frontend
watch-frontend: ## Build and watch frontend for changes watch-frontend: ## Build and watch frontend for changes
docker-compose run --rm app yarn watch-js podman compose run --rm app yarn watch-js
.PHONY: docker-compose-up .PHONY: podman-compose-up
docker-compose-up: ## Start (and create) docker containers podman-compose-up: ## Start (and create) docker containers
docker-compose up -d podman compose up -d
.PHONY: yarn .PHONY: yarn
yarn: ## Update yarn dependencies yarn: ## Update yarn dependencies
docker-compose run --rm app yarn podman compose run --rm app yarn
.PHONY: shell .PHONY: shell
shell: ## Run shell shell: ## Run shell
docker-compose run --rm app sh podman compose run --rm app sh
.PHONY: open .PHONY: open
open: ## Open app in browser open: ## Open app in browser