openship

(★ 11,162)

Self-hosted deployment platform

파일 탐색기

파일 수가 많아 일부만 표시됩니다. 전체 파일은 위 다운로드 버튼으로 확인해 주세요.

  • .bun-version
  • .dockerignore
  • .env.example
  • .gitignore
  • .nvmrc
  • .prettierrc
  • CHANGELOG.md
  • CONTRIBUTING.md
  • LICENSE
  • README.md
  • SECURITY.md
  • SECURITY_GUIDE.md
  • TODO.md

# 설치 가이드

node
사전 준비물

설치 및 실행 절차

git clone https://github.com/oblien/openship.git

프로젝트 소스 코드를 복제합니다.

cp .env.example .env

환경 변수 설정 파일을 복사합니다.

docker compose --env-file .env -f docker/docker-compose.yml up -d

도커 컴포즈를 사용하여 전체 스택을 백그라운드에서 실행합니다.

핵심 명령어

openship up --public-url https://openship.example.com

Openship을 백그라운드 부팅 서비스로 설치하고 시작합니다.

openship deploy

현재 디렉토리의 프로젝트를 배포합니다.

docker compose --env-file .env -f docker/docker-compose.yml up -d

도커 컴포즈 컨테이너를 백그라운드로 실행합니다.

.env 파일을 생성하고 알맞은 환경 변수 값을 설정한 후 실행하세요.

# CDN으로 사용하기

jsDelivr

jsDelivr는 공개 GitHub 리포지토리를 별도 설정 없이 CDN으로 즉시 서빙합니다. 버전과 파일을 고르면 웹페이지에 바로 붙일 수 있는 링크와 예시 코드가 만들어집니다.

파일 목록이 많아 일부만 표시됩니다.

명령어 용어집

이 문서에서 사용된 명령어를 모아봤습니다. 낯선 명령어가 있다면 펼쳐서 확인해보세요.

🔍

docker compose

설명 보기 ▼

Run and manage multi container Docker applications.

docker compose ps

List all running containers:

docker compose up {{[-d|--detach]}}

Create and start all containers in the background using a `docker-compose.yml` file from the current directory:

docker compose up --build

Start all containers, rebuild if necessary:

🔍

git clone

설명 보기 ▼

Clone an existing repository.

git clone {{remote_repository_location}} {{path/to/directory}}

Clone an existing repository into a new directory (the default directory is the repository name):

git clone --recursive {{remote_repository_location}}

Clone an existing repository and its submodules:

git clone {{[-n|--no-checkout]}} {{remote_repository_location}}

Clone only the `.git` directory of an existing repository:

// repository documentation