0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

UGREENのNASでgitea

Posted at

UGREENのNASを買ったら、VMやdocker機能が付いていたので趣味開発のgitサーバとして使う

giteaのdocker
事前にルータ側でIP固定

NASのブラウザからのUIを開き
アプリセンターからdockerをインストール

dockerインストール終わったら
docker開いてプロジェクト、新規作成
下記yamlで作成

version: '3'
services:
  gitea:
    image: gitea/gitea:latest
    container_name: gitea
    environment:
      - USER_UID=1000
      - USER_GID=1000
    restart: always
    ports:
      - "3000:3000"   # Web UI
      - "2222:22"     # SSH for Git
    volumes:
      - ./gitea:/data
    networks:
      - nextcloud_netbridge
networks:
  nextcloud_netbridge:
    driver: bridge 

http://xxx.xxx.xxx.xxx:3000 でアクセス、gitea用設定済ませてユーザー登録

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?