MAJ Docker compose
This commit is contained in:
parent
eb809b28b9
commit
08ff2b0ca8
@ -4,7 +4,7 @@ dokuwiki
|
|||||||
garradin
|
garradin
|
||||||
gitea
|
gitea
|
||||||
jirafeau
|
jirafeau
|
||||||
#mattermost
|
mattermost
|
||||||
roundcube
|
roundcube
|
||||||
#keycloak
|
#keycloak
|
||||||
mobilizon
|
mobilizon
|
||||||
|
@ -29,6 +29,7 @@ mobilizon IN CNAME dmz
|
|||||||
mdp IN CNAME dmz
|
mdp IN CNAME dmz
|
||||||
koffre IN CNAME dmz
|
koffre IN CNAME dmz
|
||||||
pad IN CNAME dmz
|
pad IN CNAME dmz
|
||||||
|
agora IN CNAME dmz
|
||||||
listes IN MX 10 listes
|
listes IN MX 10 listes
|
||||||
listes IN A 100.80.1.2
|
listes IN A 100.80.1.2
|
||||||
firewall IN A 100.80.0.1
|
firewall IN A 100.80.0.1
|
||||||
|
@ -18,8 +18,14 @@ DEBIAN_FRONTEND=noninteractive apt-get autoremove -y
|
|||||||
# KAZ specific things
|
# KAZ specific things
|
||||||
#installation de docker, docker-compose et on y fourre le user debian dans le groupe idoine
|
#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
|
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
|
# activation dans alias dans /root/.bashrc
|
||||||
sed -i \
|
sed -i \
|
||||||
-e 's/^\# alias/alias/g' \
|
-e 's/^\# alias/alias/g' \
|
||||||
@ -95,7 +101,7 @@ DEBIAN_FRONTEND=noninteractive apt-get clean
|
|||||||
# On installe Kaz
|
# On installe Kaz
|
||||||
ifconfig lo:0 100.80.0.2
|
ifconfig lo:0 100.80.0.2
|
||||||
ifconfig lo:1 100.80.1.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
|
echo "100.80.1.2 listes listes.kaz.sns" >> /etc/hosts
|
||||||
cp "${DIR}/kaz.sh" /root/kaz.sh
|
cp "${DIR}/kaz.sh" /root/kaz.sh
|
||||||
cp "${DIR}/createUser.txt" /root/
|
cp "${DIR}/createUser.txt" /root/
|
||||||
|
Loading…
Reference in New Issue
Block a user