Browse Source

new: [myc-install] will install ``docker-clean`` in cron.

It was removed from ``host`` charm, and need to be removable
if needed.

Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
rc1
Valentin Lab 5 years ago
parent
commit
9d213328af
  1. 2
      README.org
  2. 4
      bin/myc-install

2
README.org

@ -40,12 +40,14 @@ mycéliandre. Un compose de base est aussi proposé.
**** Hôte linux base debian 9
#+BEGIN_SRC sh
export WITHOUT_DOCKER_CLEAN=1 ## only if you want to remove docker clean from cron
wget https://justodooit.myceliandre.fr/r/deploy -qO - | bash
#+END_SRC
If you want to setup odoo admin password and domain in one go:
#+BEGIN_SRC sh
export WITHOUT_DOCKER_CLEAN=1 ## only if you want to remove docker clean from cron
export DOMAIN=myhost.com
wget https://justodooit.myceliandre.fr/r/deploy -qO - | bash
#+END_SRC

4
bin/myc-install

@ -57,6 +57,10 @@ fi
type -t docker-clean || ln -sfv /opt/apps/0k-docker/src/bin/docker-clean /usr/local/bin
if [ -z "$WITHOUT_DOCKER_CLEAN" ]; then
ln -sfn /opt/apps/0k-docker/src/bin/docker-clean /etc/cron.daily/docker-clean
fi
## To remove when image in odoo-tecnativa is not used anymore
echo "Login into our server."
docker login -u deploy -p deployinvm git.panda-chi.io:5002

Loading…
Cancel
Save