File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -234,8 +234,10 @@ yum install docker -y
234234systemctl enable docker
235235systemctl start docker
236236
237- # Docker Compose 설치 (Amazon Linux 2023)
238- dnf install docker-compose-plugin -y
237+ # Docker Compose 설치 (Binary 방식)
238+ curl -SL https://github.com/docker/compose/releases/download/v2.39.4/docker-compose-linux-x86_64 -o /usr/local/bin/docker-compose
239+ chmod +x /usr/local/bin/docker-compose
240+ ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose
239241
240242# Compose 파일을 프로젝트 루트에 복사하기 위해 git 설치 및 클론
241243yum install git -y
@@ -249,12 +251,12 @@ NPM_ADMIN_PASSWORD=${var.password}
249251REDIS_PASSWORD=${ var . password }
250252EOF
251253
252- # Docker Compose 실행
253- docker compose up -d
254-
255254# GHCR 로그인
256255echo "${ var . github_access_token } " | docker login ghcr.io -u ${ var . github_access_token_owner } --password-stdin
257256
257+ # Docker Compose 실행
258+ docker-compose up -d
259+
258260END_OF_FILE
259261}
260262
You can’t perform that action at this time.
0 commit comments