forked from kamba4/sunders
Compare commits
4 commits
b6aa38467a
...
9138d57429
| Author | SHA1 | Date | |
|---|---|---|---|
| 9138d57429 | |||
| 9cf8cffee4 | |||
| afc3828575 | |||
| 3b92dbade7 |
3 changed files with 6 additions and 5 deletions
|
|
@ -28,7 +28,8 @@ jobs:
|
|||
if [ "${{ github.ref_name }}" = "main" ] && [ "${{ github.event_name }}" = "push" ]; then
|
||||
echo "tag=latest" >> $GITHUB_OUTPUT
|
||||
else
|
||||
echo "tag=${{ github.ref_name }}" >> $GITHUB_OUTPUT
|
||||
# renovate creates sub branches with `/`; these break the tagging in the build process
|
||||
echo tag=$(echo "${{ github.ref_name }}" | sed 's/[^a-zA-Z0-9._-]/_/g') >> $GITHUB_OUTPUT
|
||||
fi
|
||||
|
||||
- name: Build web image
|
||||
|
|
|
|||
|
|
@ -21,8 +21,8 @@ services:
|
|||
environment:
|
||||
MYSQL_HOST: db
|
||||
MYSQL_DB: camera # ${{secrets.MYSQL_DATABASE}}
|
||||
MYSQL_USER: camera_select # ${{secrets.CAMERA_SELECT_USER}}
|
||||
MYSQL_PASSWORD: camera_selectpassword # ${{secrets.CAMERA_SELECT_USER_PASSWORD}}
|
||||
CAMERA_SELECT_USER: camera_select # ${{secrets.CAMERA_SELECT_USER}}
|
||||
CAMERA_SELECT_USER_PASSWORD: camera_selectpassword # ${{secrets.CAMERA_SELECT_USER_PASSWORD}}
|
||||
DEFAULT_ZOOM: 12
|
||||
DEFAULT_LAT: 0
|
||||
DEFAULT_LON: 0
|
||||
|
|
|
|||
|
|
@ -9,8 +9,8 @@
|
|||
|
||||
define('MYSQL_HOST', getenv('MYSQL_HOST') ?: '');
|
||||
define('MYSQL_DB', getenv('MYSQL_DB') ?: '');
|
||||
define('MYSQL_USER', getenv('MYSQL_USER') ?: '');
|
||||
define('MYSQL_PASSWORD', getenv('MYSQL_PASSWORD') ?: '');
|
||||
define('MYSQL_USER', getenv('CAMERA_SELECT_USER') ?: '');
|
||||
define('MYSQL_PASSWORD', getenv('CAMERA_SELECT_USER_PASSWORD') ?: '');
|
||||
|
||||
define('USE_STATISTICS', false);
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue