mirror of
https://github.com/louislam/dockge.git
synced 2025-02-20 02:25:56 +00:00
Update README.md
This commit is contained in:
parent
8d6160ec5b
commit
ac75283b0f
1 changed files with 2 additions and 4 deletions
|
@ -68,8 +68,6 @@ Dockge is now running on http://localhost:5001
|
||||||
|
|
||||||
If you want to store your stacks in another directory, you can change the `DOCKGE_STACKS_DIR` environment variable and volumes.
|
If you want to store your stacks in another directory, you can change the `DOCKGE_STACKS_DIR` environment variable and volumes.
|
||||||
|
|
||||||
For example, if you want to store your stacks in `/my-stacks`:
|
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
version: "3.8"
|
version: "3.8"
|
||||||
services:
|
services:
|
||||||
|
@ -90,10 +88,10 @@ services:
|
||||||
# ⚠️⚠️ If you did it wrong, your data could end up be written into a wrong path.
|
# ⚠️⚠️ If you did it wrong, your data could end up be written into a wrong path.
|
||||||
# ✔️✔️✔️✔️ CORRECT: - /my-stacks:/my-stacks (Both paths match)
|
# ✔️✔️✔️✔️ CORRECT: - /my-stacks:/my-stacks (Both paths match)
|
||||||
# ❌❌❌❌ WRONG: - /docker:/my-stacks (Both paths do not match)
|
# ❌❌❌❌ WRONG: - /docker:/my-stacks (Both paths do not match)
|
||||||
- /my-stacks:/my-stacks
|
- /opt/stacks:/opt/stacks
|
||||||
environment:
|
environment:
|
||||||
# Tell Dockge where is your stacks directory
|
# Tell Dockge where is your stacks directory
|
||||||
- DOCKGE_STACKS_DIR=/my-stacks
|
- DOCKGE_STACKS_DIR=/opt/stacks
|
||||||
```
|
```
|
||||||
|
|
||||||
## How to Update
|
## How to Update
|
||||||
|
|
Loading…
Add table
Reference in a new issue