2022-01-06 17:05:46 +01:00
|
|
|
# Description
|
2022-01-05 23:19:00 +01:00
|
|
|
Docker tryton-non_official It is a tool for deploying unofficial Tryton modules in Docker, including:
|
|
|
|
1. Gnuhealth
|
|
|
|
2. Kalenis
|
|
|
|
3. NaNtic
|
|
|
|
4. Datalife
|
|
|
|
5. Presik
|
|
|
|
6. Trytonar
|
|
|
|
7. Onecluster
|
|
|
|
8. Etrivial
|
|
|
|
|
|
|
|
# Dependencies:
|
|
|
|
Have **docker** 20 or higher installed and **git**
|
|
|
|
|
|
|
|
[Multi migrate to gitea](https://git.disroot.org/one_cluster/oc-multi_migrate_to_gitea) will be called at the time of the creation of the docker
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Prerequisites
|
|
|
|
Clone repository:
|
|
|
|
```
|
|
|
|
git clone https://gitea.onecluster.org/OneCluster/oc-docker-tryton-non-official.git
|
|
|
|
cd oc-docker-tryton-non_official
|
|
|
|
```
|
2022-01-06 03:16:55 +01:00
|
|
|
Edit Dockerfile and change lines commented example create Docker OneCluster:
|
|
|
|
```
|
|
|
|
#version Trytond server example 5.0
|
|
|
|
FROM tryton/tryton:6.0
|
|
|
|
#lebel custom
|
|
|
|
LABEL org.label-schema.version="6.0-my-one_cluster"
|
|
|
|
#version equal Tryond server version
|
|
|
|
ENV TRYTOND_VERSION="6.0"
|
|
|
|
#python version that will run the docker example python3.7
|
|
|
|
ENV PYTHON_VERSION="python3.7"
|
|
|
|
#version equal Tryond server version
|
2022-01-06 17:05:46 +01:00
|
|
|
ENV GITEA_ORG="OneCluster"
|
2022-01-06 03:16:55 +01:00
|
|
|
#domain server gitea
|
|
|
|
ENV GITEA_DOMAIN="git.disroot.org"
|
|
|
|
#if the module repository is private
|
|
|
|
ENV GITEA_USER="my-user"
|
|
|
|
ENV GITEA_PASSWORD="my-password"
|
|
|
|
ENV GITEA_ACCESS_TOKEN="45454515415465456456"
|
|
|
|
#By default all organizations are set to false, activate only one as true.
|
|
|
|
ENV GnuHealth="False"
|
|
|
|
ENV Etrivial="False"
|
|
|
|
ENV Trytonar="False"
|
|
|
|
ENV OneCluster="True"
|
|
|
|
ENV Presik="False"
|
|
|
|
ENV Datalife="False"
|
|
|
|
ENV NaNtic="False"
|
|
|
|
ENV Kalenis="False"
|
|
|
|
```
|
2022-01-05 23:19:00 +01:00
|
|
|
# Usage
|
|
|
|
```
|
2022-01-06 17:05:46 +01:00
|
|
|
docker build -t tryton/non_official .
|
2022-01-05 23:19:00 +01:00
|
|
|
```
|