Skip to content

Commit

Permalink
Update docker-compose procedure
Browse files Browse the repository at this point in the history
  • Loading branch information
gdarko committed Feb 8, 2024
1 parent f15a806 commit f2bc8fb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
.idea/
docker-compose.yml
invoiceshelf
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,10 @@ alter user 'invoiceshelf' identified with mysql_native_password by '<your passwo

### Run with Docker Compose

Change the environment variables in the [provided example](./docker-compose.yml) to reflect your database credentials.
To run with `docker-compose` follow the steps:

1. Copy the `docker-compose.yml.example` to `docker-compose.yml`
2. Change the environment variables in the [provided example](./docker-compose.yml.example) to reflect your database credentials.

Note that in order to avoid writing credentials directly into the file, you can create a `db_secrets.env` and use the `env_file` directive (see the [docs](https://docs.docker.com/compose/environment-variables/#the-env_file-configuration-option)).

Expand Down
File renamed without changes.

0 comments on commit f2bc8fb

Please sign in to comment.