-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
32 lines (23 loc) · 1.03 KB
/
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
32
up-d:
docker compose --file ./docker-compose.dev.yml --env-file ./.env down -v --rmi all
docker compose --file ./docker-compose.dev.yml --env-file ./.env up -d --build
build:
docker compose --file ./docker-compose.dev.yml --env-file ./.env down -v --rmi all
docker compose --file ./docker-compose.dev.yml --env-file ./.env up --build
up:
docker compose --file ./docker-compose.dev.yml --env-file ./.env up
down:
docker compose --file ./docker-compose.dev.yml --env-file ./.env down
clean:
docker compose --file ./docker-compose.dev.yml --env-file ./.env down -v --rmi all
shell-dev-gains:
docker compose --file ./docker-compose.dev.yml exec gains sh
refresh-db:
docker compose --file ./docker-compose.dev.yml exec gains sh -c 'npm run migrate:latest'
docker compose --file ./docker-compose.dev.yml exec gains sh -c 'npm run seed:run'
shell-dev-db:
docker compose --file ./docker-compose.dev.yml exec postgres sh
shell-dev-redis:
docker compose --file ./docker-compose.dev.yml exec redis sh
wipe:
docker system prune -a --volumes