diff --git a/files/snster-kaz/kaz/prod/kaz-config/container-withMail.list b/files/snster-kaz/kaz/prod/kaz-config/container-withMail.list index af86a0d..4a87346 100644 --- a/files/snster-kaz/kaz/prod/kaz-config/container-withMail.list +++ b/files/snster-kaz/kaz/prod/kaz-config/container-withMail.list @@ -4,7 +4,7 @@ dokuwiki garradin gitea jirafeau -#mattermost +mattermost roundcube #keycloak mobilizon diff --git a/files/snster-kaz/kaz/prod/kaz.sns.zone b/files/snster-kaz/kaz/prod/kaz.sns.zone index 2ea33cb..3e7d1bf 100644 --- a/files/snster-kaz/kaz/prod/kaz.sns.zone +++ b/files/snster-kaz/kaz/prod/kaz.sns.zone @@ -29,6 +29,7 @@ mobilizon IN CNAME dmz mdp IN CNAME dmz koffre IN CNAME dmz pad IN CNAME dmz +agora IN CNAME dmz listes IN MX 10 listes listes IN A 100.80.1.2 firewall IN A 100.80.0.1 diff --git a/files/snster-kaz/kaz/prod/provision.sh b/files/snster-kaz/kaz/prod/provision.sh index 6849209..061b6b3 100644 --- a/files/snster-kaz/kaz/prod/provision.sh +++ b/files/snster-kaz/kaz/prod/provision.sh @@ -18,8 +18,14 @@ DEBIAN_FRONTEND=noninteractive apt-get autoremove -y # KAZ specific things #installation de docker, docker-compose et on y fourre le user debian dans le groupe idoine -DEBIAN_FRONTEND=noninteractive apt-get install -y dos2unix jq ldapvi argon2 docker.io docker-compose docker-clean git apg curl sudo unzip rsync btrfs-progs ldap-utils unaccent # fuse-overlayfs +DEBIAN_FRONTEND=noninteractive apt-get install -y dos2unix jq ldapvi argon2 docker.io docker-clean git apg curl sudo unzip rsync btrfs-progs ldap-utils unaccent # fuse-overlayfs usermod -G docker debian + +# docker-compose +curl -SL https://github.com/docker/compose/releases/download/v2.17.3/docker-compose-linux-x86_64 -o /usr/local/bin/docker-compose +sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose +chmod +x /usr/bin/docker-compose + # activation dans alias dans /root/.bashrc sed -i \ -e 's/^\# alias/alias/g' \ @@ -95,7 +101,7 @@ DEBIAN_FRONTEND=noninteractive apt-get clean # On installe Kaz ifconfig lo:0 100.80.0.2 ifconfig lo:1 100.80.1.2 -echo "100.80.0.2 smtp imap www mail cloud cloud.kaz.sns tableur tableur.kaz.sns webmail webmail.kaz.sns garradin garradin.kaz.sns wiki wiki.kaz.sns git git.kaz.sns office office.kaz.sns depot depot.kaz.sns ldap ldap.kaz.sns mdp mdp.kaz.sns koffre koffre.kaz.sns pad pad.kaz.sns" >> /etc/hosts +echo "100.80.0.2 smtp imap www mail cloud cloud.kaz.sns tableur tableur.kaz.sns webmail webmail.kaz.sns garradin garradin.kaz.sns wiki wiki.kaz.sns git git.kaz.sns office office.kaz.sns depot depot.kaz.sns ldap ldap.kaz.sns mdp mdp.kaz.sns koffre koffre.kaz.sns pad pad.kaz.sns agora agora.kaz.sns" >> /etc/hosts echo "100.80.1.2 listes listes.kaz.sns" >> /etc/hosts cp "${DIR}/kaz.sh" /root/kaz.sh cp "${DIR}/createUser.txt" /root/