-
Notifications
You must be signed in to change notification settings - Fork 0
/
Taskfile.yaml
51 lines (40 loc) · 928 Bytes
/
Taskfile.yaml
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
# yaml-language-server: $schema=https://taskfile.dev/schema.json
# https://taskfile.dev
version: "3"
dotenv:
- .env
tasks:
start:
aliases:
- default
desc: "start the container"
cmds:
- bash ./scripts/dock.sh start
up:
desc: "up the container"
cmds:
- bash ./scripts/dock.sh up
down:
desc: "down the container"
cmds:
- bash ./scripts/dock.sh down
stop:
desc: "stop the container"
cmds:
- bash ./scripts/dock.sh stop
ps:
desc: "ps the container"
cmds:
- bash ./scripts/dock.sh ps
shell:
desc: "shell in the container"
cmds:
- bash ./scripts/dock.sh shell
cleanup:
desc: "cleanup the container"
summary: |
For cleaning up the container.
This is a destructive action. It will remove all the files in the container.
Use it with caution.
cmds:
- bash ./scripts/dock.sh cleanup