Skip to content

Commit 5c77236

Browse files
Remove docker compose v1 (getsentry#2187)
* remove docker compose v1
1 parent e76c234 commit 5c77236

File tree

5 files changed

+4
-10
lines changed

5 files changed

+4
-10
lines changed

.github/ISSUE_TEMPLATE/problem-report.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,7 @@ body:
3535
label: Docker Compose Version
3636
placeholder: 2.6.0 ← should look like this (docker compose version)
3737
description: |
38-
What version of docker-compose are you using to run self-hosted?
39-
You need to use docker-compose --version if you are running < v2.0.0.
38+
What version of docker compose are you using to run self-hosted?
4039
validations:
4140
required: true
4241
- type: textarea

.github/workflows/test.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,6 @@ jobs:
4444
fail-fast: false
4545
matrix:
4646
include:
47-
# Disabled due to https://github.com/getsentry/self-hosted/issues/1415
48-
# - compose_version: "1.28.0"
49-
# compose_path: "/usr/local/bin"
50-
# - compose_version: "1.29.2"
51-
# compose_path: "/usr/local/bin"
5247
- compose_version: "v2.0.1"
5348
compose_path: "/usr/local/lib/docker/cli-plugins"
5449
- compose_version: "v2.7.0"

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.28.0+
8+
* Compose 2.0.1+
99
* 4 CPU Cores
1010
* 8 GB RAM
1111
* 20 GB Free Disk Space

install/_min-requirements.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Don't forget to update the README and othes docs when you change these!
22
MIN_DOCKER_VERSION='19.03.6'
3-
MIN_COMPOSE_VERSION='1.28.0'
3+
MIN_COMPOSE_VERSION='2.0.1'
44
MIN_RAM_HARD=3800 # MB
55
MIN_RAM_SOFT=7800 # MB
66
MIN_CPU_HARD=2

install/dc-detect-version.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ fi
88

99
echo "${_group}Initializing Docker Compose ..."
1010

11-
# Some environments still use `docker-compose` even for Docker Compose v2.
11+
# To support users that are symlinking to docker-compose
1212
dc_base="$(docker compose version &>/dev/null && echo 'docker compose' || echo 'docker-compose')"
1313
if [[ "$(basename $0)" = "install.sh" ]]; then
1414
dc="$dc_base --ansi never --env-file ${_ENV}"

0 commit comments

Comments
 (0)