mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-10-02 01:34:26 +10:00
fix(docker): load local environment overrides in Compose (#3411)
* fix(docker): load local environment overrides in Compose * docs(docker): clarify repository Compose defaults setup
This commit is contained in:
@@ -90,6 +90,8 @@ services:
|
||||
env_file:
|
||||
- path: .env.example
|
||||
required: false
|
||||
- path: .env
|
||||
required: false
|
||||
volumes:
|
||||
- ./data:/app/data
|
||||
depends_on:
|
||||
|
||||
@@ -46,6 +46,8 @@ Create a new folder (for example `reactive-resume/`) with:
|
||||
<Step title="Create your .env">
|
||||
Start by creating a `.env` file next to your `compose.yml`.
|
||||
|
||||
The Compose example below reads `.env` directly. If you use the repository's `compose.yml` instead, copy its `.env.example` into the same folder. That file supplies defaults before your `.env` overrides are applied.
|
||||
|
||||
```bash .env
|
||||
# --- Server ---
|
||||
TZ="Etc/UTC"
|
||||
|
||||
Reference in New Issue
Block a user