GeiserX/genieacs-docker
Fork: 39 Star: 76 (更新于 2024-12-11 23:01:10)
license: LGPL-3.0
Language: Smarty .
Automated configuration files for your GenieACS deployment
最后发布版本: 1.2.11 ( 2024-03-23 22:58:26)
Table of Contents generated with DocToc
- GenieACS Deployment Tools
GenieACS Deployment Tools
GenieACS is a complex software stack that can be installed in many ways, and this repository contains the basic deployment tools to make your GenieACS installation a successful one.
Please, I ask you to contribute to the repository through Pull Requests (PRs). Together we can improve any of the different deployment processes described here - Or even add new deployment methods!
Instalation methods
Using any of the installation methods, please bear in mind that I have always found that 4GB is the minimium amount of RAM that the software needs for its processes, otherwise you may happen to fall into random errors.
Deployment on Kubernetes
In the genieacs-deploy-helmfile/
folder there is an example deployment leveraging Helmfile.
Modify the values files accordingly to make it work inside your cluster. Tested independently (not reflecting current example values) in a K3s cluster with MetalLB Load Balancer.
Installation process:
helmfile -f genieacs-deploy-helmfile/helmfile.yaml apply
Deployment on Bare Metal using Docker-Compose
The easier option is to install it using Docker Compose, as it needs less know-how. Here down you have two options: Instructions for Debian 10, and the instructions for CentOS 7.
Preparation steps for Debian 10
apt update
apt dist-upgrade -y
apt autoremove -y
apt install -y apt-transport-https ca-certificates curl gnupg2 software-properties-common sudo openssh-server htop avahi-daemon tcpdump wget
curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add -
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable"
apt update
apt install -y docker-ce
curl -L "https://github.com/docker/compose/releases/download/1.24.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
curl -L https://raw.githubusercontent.com/docker/compose/1.24.1/contrib/completion/bash/docker-compose -o /etc/bash_completion.d/docker-compose ## In order to enable command-line completion of Compose
chmod +x /usr/local/bin/docker-compose
cd /opt && git clone https://github.com/GeiserX/GenieACS-Docker && cd GenieACS-Docker
Preparation steps for CentOS 7
yum update -y
yum install yum-utils device-mapper-persistent-data lvm2 git -y
yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
yum install docker-ce -y
systemctl start docker
systemctl enable docker
curl -L "https://github.com/docker/compose/releases/download/1.24.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/bin/docker-compose
chmod +x /usr/bin/docker-compose
cd /opt && git clone https://github.com/GeiserX/GenieACS-Docker && cd GenieACS-Docker
Pull container or Build Dockerfile step (both for Debian 10 and CentOS 7)
docker pull drumsergio/genieacs:1.2.8
or:
docker build -f GenieACS.dockerfile . -t drumsergio/genieacs:1.2.8
If you decide to build the Dockerfile, do not change its name (tag). If you wish to modify it, change docker-compose.yml accordingly.
Run Docker Compose (both for Debian 10 and CentOS 7)
Modify the docker-compose.yml
file accordingly if you plan to deploy into production. Comment out the volumes:
directive if you encounter problems in the installation.
docker-compose up -d
To log into the container, issue the command docker exec -it genieacs /bin/bash
. If you happen to be managing this setting in your company, it's better to have some knowledge of Docker.
The UI will be available at port 3000
. You will see a wizard where you can configure GenieACS according to your needs.
Deployment by means of a Vagrantfile
There is a last method for bare-metal installations. If you want to use GenieACS inside a VM you have a Vagrantfile ready to be deployed in VirtualBox. Although the use of Vagrant alongside VirtualBox is more development-oriented, it can be used along with your private Hyper-V or VMware cluster too, if you change the Vagranfile accordingly.
For this setting to work, you need Vagrant installed on your computer https://www.vagrantup.com/docs/installation/ and of course, VirtualBox if you decide to use this provider with the Vagrantfile I provided https://www.virtualbox.org/wiki/Downloads
Then, you simply issue the command vagrant up
in the directory where the Vagrantfile is.
This repo appears in the GenieACS Wiki: https://github.com/genieacs/genieacs/wiki/Docker-Installation-with-Docker-Compose
最近版本更新:(数据更新于 2024-09-07 14:50:06)
2024-03-23 22:58:26 1.2.11
2023-04-04 03:50:19 1.2.9
2022-01-23 21:04:35 1.2.8
2019-08-29 15:46:02 1.2.0
主题(topics):
docker, docker-compose, genieacs
GeiserX/genieacs-docker同语言 Smarty最近更新仓库
2024-07-22 16:35:40 apache/shenyu-helm-chart
2023-11-17 12:37:42 grafana/helm-charts
2023-11-13 21:07:37 nextcloud/helm
2023-10-23 16:17:04 traefik/traefik-helm-chart
2022-09-27 20:41:47 truecharts/public
2022-03-26 16:51:28 LetsShareAll/Profiles_for_Clash