Specify filename to use for new stacks

This commit is contained in:
RichyHBM 2023-11-19 19:13:09 +00:00
parent afe0bc561f
commit 6c7c69052e
2 changed files with 2 additions and 1 deletions

View file

@ -92,6 +92,7 @@ services:
environment: environment:
# Tell Dockge where is your stacks directory # Tell Dockge where is your stacks directory
- DOCKGE_STACKS_DIR=/opt/stacks - DOCKGE_STACKS_DIR=/opt/stacks
- COMPOSE_FILENAME=docker-compose.yml #Specify filename to use when creating new stack
``` ```
## How to Update ## How to Update

View file

@ -24,7 +24,7 @@ export class Stack {
protected _status: number = UNKNOWN; protected _status: number = UNKNOWN;
protected _composeYAML?: string; protected _composeYAML?: string;
protected _configFilePath?: string; protected _configFilePath?: string;
protected _composeFileName: string = "compose.yaml"; protected _composeFileName: string = process.env.COMPOSE_FILENAME || "compose.yaml";
protected server: DockgeServer; protected server: DockgeServer;
protected combinedTerminal? : Terminal; protected combinedTerminal? : Terminal;