mirror of
https://github.com/grillazz/fastapi-sqlalchemy-asyncpg.git
synced 2025-08-26 16:40:40 +03:00
compose small updates
This commit is contained in:
parent
9147f086a4
commit
51c20c28eb
2
Makefile
2
Makefile
@ -27,7 +27,7 @@ docker-create-db-migration: ## Create new alembic database migration aka databa
|
|||||||
|
|
||||||
.PHONY: docker-test
|
.PHONY: docker-test
|
||||||
docker-test: ## Run project tests
|
docker-test: ## Run project tests
|
||||||
docker compose -f compose.yml -f test-compose.yml run --rm app pytest tests
|
docker compose -f compose.yml -f test-compose.yml run --rm app pytest tests --durations=0
|
||||||
|
|
||||||
.PHONY: docker-test-snapshot
|
.PHONY: docker-test-snapshot
|
||||||
docker-test-snapshot: ## Run project tests with inline snapshot
|
docker-test-snapshot: ## Run project tests with inline snapshot
|
||||||
|
@ -18,7 +18,7 @@ services:
|
|||||||
- "8080:8080"
|
- "8080:8080"
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
- redis
|
- inmemory
|
||||||
|
|
||||||
db:
|
db:
|
||||||
container_name: fsap_db
|
container_name: fsap_db
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
version: '3.8'
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
environment:
|
environment:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user