Skip to content

Commit 76c33bb

Browse files
authored
upgrade: use --ansi never for docker-compose (#1051)
Starting from `docker-compose` v1.28.0, the `--no-ansi` option is deprecated and a new, `--ansi never` option is introduced instead. This PR makes the deprecation warnings around this go away but bumps the minimum docker-compose version required to `1.28.0` as the older versions don't support the new option.
1 parent 93078f0 commit 76c33bb

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Official bootstrap for running your own [Sentry](https://sentry.io/) with [Docke
55
## Requirements
66

77
* Docker 19.03.6+
8-
* Compose 1.24.1+
8+
* Compose 1.28.0+
99
* 4 CPU Cores
1010
* 8 GB RAM
1111
* 20 GB Free Disk Space

install/_lib.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ else
2525
_endgroup=""
2626
fi
2727

28-
dc="docker-compose --no-ansi"
28+
dc="docker-compose --ansi never"
2929
dcr="$dc run --rm"
3030

3131
# A couple of the config files are referenced from other subscripts, so they

install/check-minimum-requirements.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
echo "${_group}Checking minimum requirements ..."
22

33
MIN_DOCKER_VERSION='19.03.6'
4-
MIN_COMPOSE_VERSION='1.24.1'
4+
MIN_COMPOSE_VERSION='1.28.0'
55
MIN_RAM_HARD=3800 # MB
66
MIN_RAM_SOFT=7800 # MB
77
MIN_CPU_HARD=2

0 commit comments

Comments
 (0)