Skip to content

Conversation

rw-access
Copy link
Contributor

TIL docker-compose can automatically scale, so we can specify in the compose file how many to create. To scale it further: docker-compose up -d --scale sublime_strelka_backend=4

We can also consider adding bora scalers this way. Naturally, AWS will do all of this better, but this will mean more mileage and flexibility for Docker deployments.

@rw-access rw-access requested a review from a team May 22, 2023 20:05
- net
volumes:
- ./configs/backend/:/etc/strelka/:ro
container_name: sublime_strelka_backend_1

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What will our container names be now? #70 I think we'd prefer to ensure they're prefixed, but it's not a huge deal for these ones.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good Q. Just goes from _X to -X
image

I'll see if I can change the prefix so it's more hostname friendly, but I believe that we're okay with the - for these ones since nothing needs to know the name?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh wait nevermind, - is better for hostnames than _ anyway

@rw-access rw-access merged commit e514af1 into main May 22, 2023
@rw-access rw-access deleted the ross.scale-strelka-backends branch May 22, 2023 20:27
rw-access added a commit that referenced this pull request May 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants