Skip to content

Commit

Permalink
fix: mastodon worker port
Browse files Browse the repository at this point in the history
  • Loading branch information
brucexc committed Nov 21, 2024
1 parent f0f7db7 commit 31eb895
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/compose/compose.go
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,9 @@ func WithWorkers(workers []*config.Module) Option {
port = optionParameter.Port
}

portStr := strconv.FormatInt(port, 10)
service := services[name]
service.Expose = []string{strconv.FormatInt(port, 10)}
service.Ports = []string{fmt.Sprintf("%s:%s", portStr, portStr)}
services[name] = service
}
}
Expand Down

0 comments on commit 31eb895

Please sign in to comment.