Switch to podman
This commit is contained in:
parent
7976ec7f8a
commit
2225712d5f
1 changed files with 11 additions and 11 deletions
22
Makefile
22
Makefile
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue