From: Guillaume Pellerin Date: Tue, 18 Oct 2016 16:03:14 +0000 (+0200) Subject: bum postgres version, update mysql import script X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=e544eaf617f7a953257607cf050247235edabe7b;p=mezzo.git bum postgres version, update mysql import script --- diff --git a/docker-compose.yml b/docker-compose.yml index ee4e7f1e..0d6ac496 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -52,7 +52,7 @@ prestadb: - MYSQL_PASSWORD=pUmt97e4MgR9EP4knyWea0n evedb: - image: postgres + image: postgres:9.5 volumes_from: - data volumes: diff --git a/scripts/restore_db_mysql.sh b/scripts/restore_db_mysql.sh index 559caac4..26b338b4 100755 --- a/scripts/restore_db_mysql.sh +++ b/scripts/restore_db_mysql.sh @@ -1,4 +1,4 @@ #!/bin/bash -gunzip < /srv/backup/ircam-www.sql.gz | mysql -hdb -uroot -phyRob0otlaz4 ircam-www +gunzip < /srv/backup/ircam_shops.sql.gz | mysql -hprestadb -uroot -pmysecretpassword ircam_shops echo "Restore done!"