-
Notifications
You must be signed in to change notification settings - Fork 0
/
Justfile
53 lines (36 loc) · 1.17 KB
/
Justfile
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
dev:
yarn dev
dev-docker:
docker compose -f docker-compose.yaml up -d
log-server:
docker logs -f tradingduck-server-1
log-nginx:
docker logs -f nginx-service
staging:
docker compose -f docker-compose-staging.yaml up -d
staging-build-server:
docker compose -f docker-compose-staging.yaml up -d --build server
staging-build-nginx:
docker compose -f docker-compose-staging.yaml up -d --build nginx
staging-down:
docker compose -f docker-compose-staging.yaml down
prod:
docker compose -f docker-compose-prod.yaml up -d
prod-build-server:
docker compose -f docker-compose-prod.yaml up -d --build server
prod-build-nginx:
docker compose -f docker-compose-prod.yaml up -d --build nginx
prod-down:
docker compose -f docker-compose-prod.yaml down
le:
docker compose -f docker-compose-le.yaml up -d
le-down:
docker compose -f docker-compose-le.yaml down
le-full:
docker compose --profile full -f docker-compose-le.yaml up -d
le-full-down:
docker compose --profile full -f docker-compose-le.yaml down
migration:
docker exec -it server-service yarn prisma:migrate
seed:
docker exec -it server-service yarn prisma:seed