Skip to content

Commit 23fbcce

Browse files
committed
docker compose: shorter default columns
When running docker compose in foreground mode, all output lines are prefixed by a label for the container. Since we are using a default columns value of 120, under compose we should default to a shorter value to accomodate for the label.
1 parent 3384835 commit 23fbcce

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docker-compose.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ services:
1717
- '/app/local'
1818
ports:
1919
- '8000:80'
20+
environment:
21+
# default is 120, shorten to work with compose label
22+
COLUMNS: 96
2023
develop:
2124
watch:
2225
- path: ./cpanfile

0 commit comments

Comments
 (0)