moved api-fix.sh
This commit is contained in:
@ -3,7 +3,7 @@ services:
|
||||
app:
|
||||
configs:
|
||||
- source: api_fix
|
||||
target: /var/www/html/api-fix.patch
|
||||
target: /api-fix.patch
|
||||
mode: 0644
|
||||
|
||||
configs:
|
||||
|
||||
@ -1,11 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
export DB_PASSWORD=$(cat /run/secrets/mysql_password)
|
||||
export ADMIN_PASSWORD=$(cat /run/secrets/admin_password)
|
||||
|
||||
{{ if eq (env "API_FIX") "apply" }}
|
||||
cd /var/www/html
|
||||
patch --batch --forward -p1 < ./api-fix.patch
|
||||
patch --batch --forward -p1 < /api-fix.patch
|
||||
{{ end }}
|
||||
|
||||
/usr/local/bin/akaunting.sh --start
|
||||
Reference in New Issue
Block a user