Require .env file for docker compose example

This commit is contained in:
Bruno Bernardino
2024-04-09 20:03:21 +01:00
parent 735b14544a
commit 9f4723c13f

View File

@@ -6,6 +6,9 @@ services:
- 127.0.0.1:8000:8000 - 127.0.0.1:8000:8000
mem_limit: '256m' 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 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: volumes:
- ./data-files:/app/data-files - ./data-files:/app/data-files