Digital Studium 537fb3713e Add readme
2023-03-25 14:52:59 +00:00
2023-03-25 12:07:14 +00:00
2023-03-25 12:07:14 +00:00
2023-03-25 12:07:14 +00:00
2023-03-25 12:07:14 +00:00
2023-03-25 14:49:36 +00:00
2023-03-25 14:52:59 +00:00
2023-03-25 12:07:14 +00:00
2023-03-25 14:49:36 +00:00
2023-03-25 14:23:28 +00:00

Prerequisites

Before you begin, you will need:

  • A server running Ubuntu 18.04 or later
  • sudo privileges
  • An internet connection

Steps

  1. Update the repository cache:

sudo apt update

  1. Install the necessary packages (nginx-light, certbot, python3-certbot-nginx, and docker.io):

sudo apt install -y nginx-light certbot python3-certbot-nginx docker.io

  1. Add the current user to the docker group and switch to this group:

sudo usermod -a -G docker $USER newgrp docker

  1. Initialize Docker Swarm mode if it has not yet been initialized:

docker swarm init || true

  1. Deploy the Gitea application using Docker Swarm:

docker stack deploy -c stack.yaml gitea

Note: The stack.yaml file contains the configuration for the Gitea application, including the Docker image to use, the ports to expose, and any environment variables to set.

Description
Scripts and instructions how to deploy Gitea and Gitea Actions
Readme 28 KiB
Languages
Shell 100%