File tree Expand file tree Collapse file tree 4 files changed +18
-4
lines changed Expand file tree Collapse file tree 4 files changed +18
-4
lines changed Original file line number Diff line number Diff line change
1
+ name : Comment on invalid interaction
2
+ on :
3
+ issues :
4
+ types :
5
+ - labeled
6
+ jobs :
7
+ add-comment-on-invalid :
8
+ if : github.event.label.name == 'invalid'
9
+ permissions :
10
+ issues : write
11
+ uses : linuxserver/github-workflows/.github/workflows/invalid-interaction-helper.yml@v1
12
+ secrets : inherit
Original file line number Diff line number Diff line change @@ -271,6 +271,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
271
271
272
272
## Versions
273
273
274
+ * ** 21.12.22:** - Update db info in .env file when env vars are updated.
274
275
* ** 10.10.22:** - Remove password escape logic which caused problems for a small subset of users.
275
276
* ** 20.08.22:** - Rebasing to alpine 3.15 with php8. Restructure nginx configs ([ see changes announcement] ( https://info.linuxserver.io/issues/2022-08-20-nginx-base ) ).
276
277
* ** 14.03.22:** - Add symlinks for theme support.
Original file line number Diff line number Diff line change @@ -101,6 +101,7 @@ app_setup_block: |
101
101
102
102
# changelog
103
103
changelogs :
104
+ - { date: "21.12.22:", desc: "Update db info in .env file when env vars are updated." }
104
105
- { date: "10.10.22:", desc: "Remove password escape logic which caused problems for a small subset of users." }
105
106
- { date: "20.08.22:", desc: "Rebasing to alpine 3.15 with php8. Restructure nginx configs ([see changes announcement](https://info.linuxserver.io/issues/2022-08-20-nginx-base))." }
106
107
- { date: "14.03.22:", desc: "Add symlinks for theme support." }
Original file line number Diff line number Diff line change 63
63
if [ "${DB_USER}" ];
64
64
then
65
65
echo "Running config - db_user set"
66
- sed -i "s/DB_HOST=localhost /DB_HOST=${DB_HOST}/g" /config/www/.env
67
- sed -i "s/DB_DATABASE=database_database /DB_DATABASE=${DB_DATABASE}/g" /config/www/.env
68
- sed -i "s/DB_USERNAME=database_username /DB_USERNAME=${DB_USER}/g" /config/www/.env
69
- sed -i "s/DB_PASSWORD=database_user_password /DB_PASSWORD=${DB_PASS}/g" /config/www/.env
66
+ sed -i "s/DB_HOST=.* /DB_HOST=${DB_HOST}/g" /config/www/.env
67
+ sed -i "s/DB_DATABASE=.* /DB_DATABASE=${DB_DATABASE}/g" /config/www/.env
68
+ sed -i "s/DB_USERNAME=.* /DB_USERNAME=${DB_USER}/g" /config/www/.env
69
+ sed -i "s/DB_PASSWORD=.* /DB_PASSWORD=${DB_PASS}/g" /config/www/.env
70
70
fi
71
71
72
72
# set appurl
You can’t perform that action at this time.
0 commit comments