-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTaskfile.yaml
35 lines (26 loc) · 969 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
version: "3"
tasks:
build-dev:
dotenv: [ '.env.development' ]
cmds:
- docker compose -f docker-compose.dev.yaml build # --no-cache
build-prod:
dotenv: [ '.env.production' ]
cmds:
- docker compose -f docker-compose.prod.yaml build # --no-cache
start-dev:
dotenv: [ '.env.development' ]
cmds:
# - docker compose -f docker-compose.dev.yaml build --no-cache
- docker compose -f ${PWD}/docker-compose.dev.yaml up -d --remove-orphans
start-prod:
dotenv: [ '.env.production' ]
cmds:
# - docker compose -f docker-compose.prod.yaml build --no-cache
- docker compose -f ${PWD}/docker-compose.prod.yaml up -d --remove-orphans
logs:
- docker compose -f ${PWD}/docker-compose.prod.yaml logs -f app municipalities_service buildings_service report_service
stop-dev:
- docker compose -f ${PWD}/docker-compose.dev.yaml down
stop-prod:
- docker compose -f ${PWD}/docker-compose.prod.yaml down