minors updates

This commit is contained in:
2020-12-14 21:09:33 +01:00
parent f697afe63a
commit 8769b61f82
4 changed files with 13 additions and 2 deletions
+1 -1
Submodule api updated: 0e3daa3c49...f0966cea3f
Executable
+8
View File
@@ -0,0 +1,8 @@
#!/bin/bash
DATE=`date '+%Y-%m-%d_%H%M%S'`
#SCRIPT_D=dirname $0
#export $(cat ${SCRIPT_D}/../.env | grep -v ^# | xargs)
docker exec enfrancais_mysql_1 sh -c 'exec mysqldump -uroot -p"$MYSQL_ROOT_PASSWORD" enfrancais' > "./ressources/enfrancais-${DATE}-local.sql"
+3
View File
@@ -0,0 +1,3 @@
#!/bin/sh
rsync --delete -ruv CT-enfrancais:www/enfrancais.figli.io/app/src/web/sites/default/files/ ./api/src/web/sites/default/files/ --exclude=js/* --exclude=php/* --exclude=styles/* --exclude=css/*
+1 -1
View File
@@ -36,7 +36,7 @@ services:
- php-user-data:/home/${USER_UNAME}
- "${API_ROOT}:/var/www/html/api"
- "${LOG_ROOT}/php:/var/log:rw"
working_dir: "/var/www/html/api"
working_dir: "/var/www/html/api/src"
networks:
- database
- redis