From 36fc29fceade87f6c219274b2578ad41ce150d4b Mon Sep 17 00:00:00 2001 From: Sthope Date: Mon, 18 Apr 2022 10:03:57 +0200 Subject: [PATCH] first commit --- docs/portainer-stacks/Gitea.md | 45 ++++++++++++++++++++++++++++++++++ mkdocs.yml | 1 + 2 files changed, 46 insertions(+) create mode 100644 docs/portainer-stacks/Gitea.md diff --git a/docs/portainer-stacks/Gitea.md b/docs/portainer-stacks/Gitea.md new file mode 100644 index 0000000..ade21b3 --- /dev/null +++ b/docs/portainer-stacks/Gitea.md @@ -0,0 +1,45 @@ +Portainer Stack: +``` +--- +version: "3.8" +services: + gitea: + image: gitea/gitea:latest + container_name: gitea + environment: + - USER_UID=1000 + - USER_GID=1000 + - GITEA__database__HOST=gitea_db:3306 + - GITEA__database__NAME=db_name + - GITEA__database__USER=db_username + - GITEA__database__PASSWD=db_password + restart: unless-stopped + volumes: + - /gitea/config:/data + - /etc/timezone:/etc/timezone:ro + - /etc/localtime:/etc/localtime:ro + depends_on: + - gitea_db + ports: + - 3000:3000 + labels: + - com.centurylinklabs.watchtower.enable=true + + gitea_db: + image: lscr.io/linuxserver/mariadb:latest + container_name: gitea_db + environment: + - PUID=1000 + - PGID=1000 + - MYSQL_ROOT_PASSWORD=db_root_password + - TZ=Europe/Amsterdam + - MYSQL_DATABASE=db_name + - MYSQL_USER=db_username + - MYSQL_PASSWORD=db_password + volumes: + - /gitea/db:/config + restart: unless-stopped + labels: + - com.centurylinklabs.watchtower.enable=true + - hide_db=mariadb +``` \ No newline at end of file diff --git a/mkdocs.yml b/mkdocs.yml index 5453dbb..e9ce3a8 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -76,6 +76,7 @@ nav: - Authelia: portainer-stacks/authelia.md - Bazarr: portainer-stacks/bazarr.md - BitWarden: portainer-stacks/bitwarden.md + - Gitea: portainer-stacks/Gitea.md - Heimdall: portainer-stacks/heimdall.md - Jellyfin: portainer-stacks/jellyfin.md - MQTT-Explorer: portainer-stacks/mqtt-explorer.md