-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
31 lines (22 loc) · 886 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
docker-dev-run:
docker compose -f docker-compose.dev.yml up api mysql
docker-dev-run-bg:
docker compose -f docker-compose.dev.yml up -d api mysql
docker-dev-stop:
docker compose -f docker-compose.dev.yml down
docker-dev-logs:
docker compose -f docker-compose.dev.yml logs
docker-prod-run:
docker compose -f docker-compose.prod.yml up api mysql
docker-prod-run-bg:
docker compose -f docker-compose.prod.yml up -d api mysql
docker-prod-stop:
docker compose -f docker-compose.prod.yml down
docker-prod-logs:
docker compose -f docker-compose.dev.yml logs
docker-run-migrations:
docker exec -it -w /usr/src/app agdb_api-api-1 yarn migration:run
docker-run-tests:
docker compose -f docker-compose.test.yml up -d api-test mysql-test
docker compose -f docker-compose.test.yml exec -T api-test /usr/src/app/scripts/run-tests.sh
docker compose -f docker-compose.test.yml down