-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTaskfile.yml
More file actions
45 lines (36 loc) · 850 Bytes
/
Taskfile.yml
File metadata and controls
45 lines (36 loc) · 850 Bytes
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
version: '3'
dotenv: ['.env']
silent: true
tasks:
console:
cmds:
- hasura console --envfile .env
seed:
cmds:
- hasura seeds apply --envfile .env
up:
cmds:
- docker-compose up -d --build hasura auth
- docker-compose up -d --build core
down:
cmds:
- docker-compose down -v --remove-orphans
restart:
cmds:
- docker-compose stop
- task up
reboot:
cmds:
- task down
- task boot
boot:
cmds:
- docker-compose up -d --build
- sleep 60
- hasura migrate apply --database-name=default --envfile .env
- hasura metadata apply --envfile .env
- hasura seeds apply --envfile .env
migrate:
cmds:
- hasura migrate apply --database-name=default --envfile .env
- hasura metadata apply --envfile .env