SelfhostedPro / selfhosted_templates

Portainer templates for selfhosted services
GNU General Public License v3.0
1.22k stars 238 forks source link

[APP REQUEST]: Gitea (lite alternative to Gitlab) #256

Open tuckcodes opened 2 years ago

tuckcodes commented 2 years ago

Dockerhub Link:

https://hub.docker.com/r/gitea/gitea

Description

Git with a cup of tea - A painless self-hosted Git service.

Separate Database?

Fill this out as best as you can. Documentation about these can be found here: https://www.portainer.io/documentation/how-to-use-templates/

{
    "type": 1,
    "title": "Airsonic",
    "name": "airsonic",
    "description": "Gitea is a painless self-hosted Git service. It is similar to GitHub, Bitbucket, and GitLab. The goal of this project is to provide the easiest, fastest, and most painless way of setting up a self-hosted Git service. With Go, this can be done with an independent binary distribution across all platforms and architectures that Go supports. This support includes Linux, macOS, and Windows, on architectures like amd64, i386, ARM, PowerPC, and others.",
    "logo": "https://raw.githubusercontent.com/go-gitea/gitea/main/assets/logo.svg",
    "image": "gitea/gitea:latest",
    "categories": [
      "Music"
    ],
    "platform": "linux",
    "restart_policy": "unless-stopped",
    "ports": [
      "4040:4040/tcp"
    ],
    "volumes": [
      {
        "container": "/music",
        "bind": "/portainer/Music"

      },
      {
        "container": "/playlists",
        "bind": "/portainer/Files/AppData/Airsonic/Playlists"
      },
      {
        "container": "/podcasts",
        "bind": "/portainer/Podcasts"
      },
      {
        "container": "/media",
        "bind": "/portainer/Files/AppData/Airsonic/Media"
      },
      {
        "container": "/config",
        "bind": "/portainer/Files/AppData/Config/Airsonic/"
      }
    ],
    "env": [
      {
        "name": "PUID",
        "label": "PUID",
        "default": "1000"
      },
      {
        "name": "PGID",
        "label": "PGID",
        "default": "100"
      },
      {
        "name": "CONTEXT_PATH",
        "label": "CONTEXT_PATH",
        "set": "airsonic"
      },
      {
        "name": "JAVA_OPTS",
        "label": "JAVA_OPTS",
        "set": "-Xms256m -Xmx512m"
      }
    ]
  },