Difference between revisions of "Deploy a Gitea stack"
Aouarab4ab79 (talk | contribs) (Created page with "<span data-link_translate_en_title="Deploy a Gitea stack" data-link_translate_en_url="Deploy a Gitea stack"></span>en:Deploy a Gitea stacken:Deploy a Gitea stack <sp...") |
|||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | <span data-link_translate_de_title="Einsatz eines Gitea-Stacks" data-link_translate_de_url="Einsatz eines Gitea-Stacks"></span>[[:de:Einsatz eines Gitea-Stacks]][[de:Einsatz eines Gitea-Stacks]] | ||
+ | <span data-link_translate_nl_title="Een Gitea-stack implementeren" data-link_translate_nl_url="Een Gitea-stack implementeren"></span>[[:nl:Een Gitea-stack implementeren]][[nl:Een Gitea-stack implementeren]] | ||
+ | <span data-link_translate_it_title="Distribuire uno stack Gitea" data-link_translate_it_url="Distribuire uno stack Gitea"></span>[[:it:Distribuire uno stack Gitea]][[it:Distribuire uno stack Gitea]] | ||
+ | <span data-link_translate_pt_title="Implantação de uma pilha de Gitea" data-link_translate_pt_url="Implantação de uma pilha de Gitea"></span>[[:pt:Implantação de uma pilha de Gitea]][[pt:Implantação de uma pilha de Gitea]] | ||
+ | <span data-link_translate_es_title="Despliegue de una pila Gitea" data-link_translate_es_url="Despliegue de una pila Gitea"></span>[[:es:Despliegue de una pila Gitea]][[es:Despliegue de una pila Gitea]] | ||
<span data-link_translate_en_title="Deploy a Gitea stack" data-link_translate_en_url="Deploy a Gitea stack"></span>[[:en:Deploy a Gitea stack]][[en:Deploy a Gitea stack]] | <span data-link_translate_en_title="Deploy a Gitea stack" data-link_translate_en_url="Deploy a Gitea stack"></span>[[:en:Deploy a Gitea stack]][[en:Deploy a Gitea stack]] | ||
<span data-link_translate_fr_title="Déployer une stack Gitea" data-link_translate_fr_url="Déployer une stack Gitea"></span>[[:fr:Déployer une stack Gitea]][[fr:Déployer une stack Gitea]] | <span data-link_translate_fr_title="Déployer une stack Gitea" data-link_translate_fr_url="Déployer une stack Gitea"></span>[[:fr:Déployer une stack Gitea]][[fr:Déployer une stack Gitea]] | ||
Line 81: | Line 86: | ||
You should now be able to connect to your Stack Gitea on the Web and SSH from the authorized IPs on your firewall. | You should now be able to connect to your Stack Gitea on the Web and SSH from the authorized IPs on your firewall. | ||
− | It is quite possible to make your Gitea stack coexist with other services behind a reverse Proxy in such a case free to you to modify at your convenience the listening port of the WEB service. | + | It is quite possible to make your ''Gitea'' stack coexist with other services behind a reverse Proxy in such a case free to you to modify at your convenience the listening port of the WEB service. |
Latest revision as of 11:40, 30 July 2021
de:Einsatz eines Gitea-Stacks nl:Een Gitea-stack implementeren it:Distribuire uno stack Gitea pt:Implantação de uma pilha de Gitea es:Despliegue de una pila Gitea en:Deploy a Gitea stack fr:Déployer une stack Gitea
Prerequisites
In order to be able to deploy a "stack Gitea" you can follow the official documentation of the project :
To do this you must have :
- a functional GNU / Linux system to which you will have access in SSH
- a docker and docker facility
You can perform this installation from a Physical Machine, a Virtual Machine or a Cloud Ikoula One Instance.
Deployment of Gitea
Deploying your "Stack" Giteawill be made using a file that you will have beforehand create or deposit in a folder to which the user will have access.
In our example we will deploy with the support of Postgres as SGBD (you can replace by the couple of login passwords of your choice):
version: "2"
networks:
gitea:
external: false
services:
server:
image: gitea/gitea:latest
environment:
- USER_UID=1000
- USER_GID=1000
restart: always
networks:
- gitea
volumes:
- /var/lib/persistent/gitea:/data
ports:
- "80:3000"
- "222:22"
depends_on:
- db
db:
image: postgres:9.6
restart: always
environment:
- POSTGRES_USER=gitea
- POSTGRES_PASSWORD=gitea
- POSTGRES_DB=gitea
networks:
- gitea
volumes:
- /var/lib/persistent/postgres:/var/lib/postgresql/data
Be sure to open TCP ports 3000 and 222 on the host.
To run your composer.yml file in the background from the folder where the file is stored :
# docker-compose up -d
All you need to do is complete the form to finalize the installation and access your Gitea stack.
http://VOTRE_IP
You should now be able to connect to your Stack Gitea on the Web and SSH from the authorized IPs on your firewall. It is quite possible to make your Gitea stack coexist with other services behind a reverse Proxy in such a case free to you to modify at your convenience the listening port of the WEB service.
Catégorie :Cloudstack Catégorie :Cloud public Catégorie:Serveur dédié Catégorie:Linux Catégorie:FLEX