Commit d9b27fb
committed
Give the compose stack an explicit project name
Compose derives the project name from the directory holding the file, which here is 'docker'. Anything else on the same host that keeps its compose file in a subdirectory of that name joins the same project, and a 'docker compose down' in either directory then stops both. That happened on the machine this is deployed to: a second stack's database container was registered under the same project as this dashboard, and running up -d here reported that stack's containers as orphans.
Fixing only the deployment would have left this shipped to anyone who clones the repo, since they get the same directory name.1 parent b77f47b commit d9b27fb
1 file changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
1 | 10 | | |
2 | 11 | | |
3 | 12 | | |
| |||
0 commit comments