mirror of
https://github.com/louislam/dockge.git
synced 2024-11-23 19:34:04 +00:00
Specify filename to use for new stacks
This commit is contained in:
parent
afe0bc561f
commit
6c7c69052e
2 changed files with 2 additions and 1 deletions
|
@ -92,6 +92,7 @@ services:
|
|||
environment:
|
||||
# Tell Dockge where is your stacks directory
|
||||
- DOCKGE_STACKS_DIR=/opt/stacks
|
||||
- COMPOSE_FILENAME=docker-compose.yml #Specify filename to use when creating new stack
|
||||
```
|
||||
|
||||
## How to Update
|
||||
|
|
|
@ -24,7 +24,7 @@ export class Stack {
|
|||
protected _status: number = UNKNOWN;
|
||||
protected _composeYAML?: string;
|
||||
protected _configFilePath?: string;
|
||||
protected _composeFileName: string = "compose.yaml";
|
||||
protected _composeFileName: string = process.env.COMPOSE_FILENAME || "compose.yaml";
|
||||
protected server: DockgeServer;
|
||||
|
||||
protected combinedTerminal? : Terminal;
|
||||
|
|
Loading…
Reference in a new issue