Skip to content

Commit

Permalink
Require .env file for docker compose example
Browse files Browse the repository at this point in the history
  • Loading branch information
BrunoBernardino committed Apr 9, 2024
1 parent 735b145 commit 9f4723c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ services:
- 127.0.0.1:8000:8000
mem_limit: '256m'
user: "${UID}:${GID}" # if you run into issues with permissions for the data-files volume below, see other options at https://stackoverflow.com/a/56904335
env_file:
- path: .env
required: true
volumes:
- ./data-files:/app/data-files

Expand Down

0 comments on commit 9f4723c

Please sign in to comment.