-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3a83f79
commit 53155aa
Showing
8 changed files
with
14 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,7 +37,7 @@ You need to change your environment to `dev` and configure your database connect | |
|
||
``` | ||
APP_ENV=dev | ||
DATABASE_URL=mysql://user:[email protected]:3306/database?charset=utf8mb4&serverVersion=5.7 | ||
DATABASE_URL=mysql://user:[email protected]:3306/database?charset=utf8mb4&serverVersion=5.7.40 | ||
``` | ||
|
||
The next command will import demo data, to test the application in its full beauty - with different user accounts, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,7 +49,7 @@ services: | |
environment: | ||
- [email protected] | ||
- ADMINPASS=changemeplease | ||
- DATABASE_URL=mysql://kimaiuser:kimaipassword@sqldb/kimai?charset=utf8&serverVersion=5.7 | ||
- DATABASE_URL=mysql://kimaiuser:kimaipassword@sqldb/kimai?charset=utf8mb4&serverVersion=5.7.40 | ||
- TRUSTED_HOSTS=nginx,localhost,127.0.0.1 | ||
- MAILER_URL=smtp://mailer:1025 | ||
- [email protected] | ||
|
@@ -129,7 +129,7 @@ services: | |
environment: | ||
- [email protected] | ||
- ADMINPASS=changemeplease | ||
- "DATABASE_URL=mysql://kimaiuser:kimaipassword@sqldb/kimai?charset=utf8&serverVersion=5.7" | ||
- "DATABASE_URL=mysql://kimaiuser:kimaipassword@sqldb/kimai?charset=utf8mb4&serverVersion=5.7.40" | ||
- TRUSTED_HOSTS=nginx,localhost,127.0.0.1 | ||
restart: unless-stopped | ||
``` | ||
|
@@ -167,7 +167,7 @@ services: | |
environment: | ||
- [email protected] | ||
- ADMINPASS=changemeplease | ||
- "DATABASE_URL=mysql://kimaiuser:kimaipassword@sqldb/kimai?charset=utf8&serverVersion=5.7" | ||
- "DATABASE_URL=mysql://kimaiuser:kimaipassword@sqldb/kimai?charset=utf8mb4&serverVersion=5.7.40" | ||
- TRUSTED_HOSTS=nginx,localhost,127.0.0.1 | ||
restart: unless-stopped | ||
|
||
|
@@ -219,7 +219,7 @@ services: | |
environment: | ||
- [email protected] | ||
- ADMINPASS=changemeplease | ||
- "DATABASE_URL=mysql://kimaiuser:kimaipassword@sqldb/kimai?charset=utf8&serverVersion=5.7" | ||
- "DATABASE_URL=mysql://kimaiuser:kimaipassword@sqldb/kimai?charset=utf8mb4&serverVersion=5.7.40" | ||
- TRUSTED_HOSTS=nginx,localhost,127.0.0.1 | ||
volumes: | ||
- public:/opt/kimai/public | ||
|
@@ -276,7 +276,7 @@ services: | |
environment: | ||
- [email protected] | ||
- ADMINPASS=changemeplease | ||
- "DATABASE_URL=mysql://kimaiuser:kimaipassword@sqldb/kimai?charset=utf8&serverVersion=5.7" | ||
- "DATABASE_URL=mysql://kimaiuser:kimaipassword@sqldb/kimai?charset=utf8mb4&serverVersion=5.7.40" | ||
- TRUSTED_HOSTS=nginx,localhost,127.0.0.1 | ||
volumes: | ||
- public:/opt/kimai/public | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -163,7 +163,7 @@ vim .env | |
|
||
Configure the database connection and adjust the settings to your needs (compare with the [original .env file]({{ site.kimai_v2_repo }}/blob/main/.env.dist)): | ||
``` | ||
DATABASE_URL=mysql://kimai2:[email protected]:3306/kimai2?charset=utf8mb4&serverVersion=5.7 | ||
DATABASE_URL=mysql://kimai2:[email protected]:3306/kimai2?charset=utf8mb4&serverVersion=5.7.40 | ||
``` | ||
|
||
And execute the Kimai installation: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -172,7 +172,7 @@ vim .env | |
|
||
Configure the database connection and adjust the settings to your needs (compare with the [original .env file]({{ site.kimai_v2_repo }}/blob/main/.env.dist)): | ||
``` | ||
DATABASE_URL=mysql://kimai2:[email protected]:3306/kimai2?charset=utf8mb4&serverVersion=5.7 | ||
DATABASE_URL=mysql://kimai2:[email protected]:3306/kimai2?charset=utf8mb4&serverVersion=5.7.40 | ||
``` | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,7 +60,7 @@ composer install --optimize-autoloader -n | |
|
||
Configure the database connection and server version in the `.env` file: | ||
``` | ||
DATABASE_URL=mysql://user:[email protected]:3306/database?charset=utf8mb4&serverVersion=5.7 | ||
DATABASE_URL=mysql://user:[email protected]:3306/database?charset=utf8mb4&serverVersion=5.7.40 | ||
``` | ||
|
||
And run the Kimai installer: | ||
|
@@ -172,7 +172,7 @@ mG0%2Fd1%403aT.Z%29s | |
|
||
Then your `DATABASE_URL` might look like this: | ||
``` | ||
DATABASE_URL=mysql://root:mG0%2Fd1%403aT.Z%[email protected]:3306/kimai2?charset=utf8mb4&serverVersion=5.7 | ||
DATABASE_URL=mysql://root:mG0%2Fd1%403aT.Z%[email protected]:3306/kimai2?charset=utf8mb4&serverVersion=5.7.40 | ||
``` | ||
|
||
### Which user to use, www-data, httpd or your own? | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters