Skip to content

Commit

Permalink
add app label
Browse files Browse the repository at this point in the history
  • Loading branch information
kla committed Aug 11, 2024
1 parent 7ce0e5e commit 760a4f6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/staxfile/compose_generator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ export default class ComposeGenerator {
const service = this.config.services[name]

service.labels = service.labels || {}
service.labels['dev.stax.app'] = process.cwd().split("/").pop() // TODO: probably need a better way to do this later

if (this.options.staxfile)
service.labels['dev.stax.staxfile'] = this.options.staxfile
Expand Down

0 comments on commit 760a4f6

Please sign in to comment.