File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -87,21 +87,21 @@ setup-local:
87
87
# #################################################
88
88
89
89
build :
90
- docker- compose build
90
+ docker compose build
91
91
92
92
start :
93
- docker- compose up --detach
93
+ docker compose up --detach
94
94
95
95
run-logs : start
96
- docker- compose logs --follow --no-color $(APP_NAME )
96
+ docker compose logs --follow --no-color $(APP_NAME )
97
97
98
98
init : build init-db
99
99
100
100
clean-volumes : # # Remove project docker volumes (which includes the DB state)
101
- docker- compose down --volumes
101
+ docker compose down --volumes
102
102
103
103
stop :
104
- docker- compose down
104
+ docker compose down
105
105
106
106
check : format-check lint test
107
107
@@ -118,7 +118,7 @@ check: format-check lint test
118
118
init-db : start-db db-migrate
119
119
120
120
start-db :
121
- docker- compose up --detach main-db
121
+ docker compose up --detach main-db
122
122
./bin/wait-for-local-db.sh
123
123
124
124
# # Destroy current DB, setup new one
Original file line number Diff line number Diff line change 1
1
#
2
2
# Make JSON logs easier to read when developing or troubleshooting.
3
3
#
4
- # Expects JSON log lines or `docker- compose log` output on stdin and outputs plain text lines on
4
+ # Expects JSON log lines or `docker compose log` output on stdin and outputs plain text lines on
5
5
# stdout.
6
6
#
7
7
# This module intentionally has no dependencies outside the standard library so that it can be run
@@ -42,7 +42,7 @@ def process_line(line: str) -> Optional[str]:
42
42
# JSON format
43
43
return decode_json_line (line )
44
44
elif "| {" in line :
45
- # `docker- compose logs ...` format
45
+ # `docker compose logs ...` format
46
46
return decode_json_line (line [line .find ("| {" ) + 2 :])
47
47
# Anything else is left alone
48
48
return line
You can’t perform that action at this time.
0 commit comments