Skip to content

Commit

Permalink
#150 More precise instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
danielbrendel committed Mar 31, 2024
1 parent 1dcedf7 commit 220b4e0
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,12 +96,35 @@ git clone https://github.com/danielbrendel/hortusfox-web.git
cd hortusfox-web
```

2. Set your admin account in the `docker-compose.yml`.
2. Set environment variables in the `docker-compose.yml`.

Set your admin user e-mail and password in order to login
```yaml
# Admin login credentials
# services.app.environment
APP_ADMIN_EMAIL: "admin@example.com"
APP_ADMIN_PASSWORD: "password"
```
Set database settings if required. It is encouraged to set custom passwords due to security reasons. All other settings can be left unaltered.
```yaml
# Settings used to establish connections to the database
# services.app.environment
DB_HOST: db
DB_PORT: 3306
DB_DATABASE: hortusfox
DB_USERNAME: user
DB_PASSWORD: password
DB_CHARSET: "utf8mb4"

# Settings of the database container
# services.db.environment
MYSQL_ROOT_PASSWORD: my-secret-pw
MYSQL_DATABASE: hortusfox
MYSQL_USER: user
MYSQL_PASSWORD: password
```
3. Pull the image and run the application:
```shell
Expand Down

0 comments on commit 220b4e0

Please sign in to comment.