What are the Slack Archives?

It’s a history of our time together in the Slack Community! There’s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you won’t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

Hello. As far as i understood, different physical databases can only be set region-wise in the docke

UPWG9AYH2
UPWG9AYH2 Posts: 509 🧑🏻‍🚀 - Cadet
edited January 2020 in Help

Hello. As far as i understood, different physical databases can only be set region-wise in the docker sdk config file

regions:
    EU:
        services:
            database:
                database: eu-docker
                username: spryker
                password: secret

        stores:
            DE:
                services:
                    broker:
                        namespace: de-docker
                    key_value_store:
                        namespace: 1
                    search:
                        namespace: de_search
            AT:
                services:
                    broker:
                        namespace: at-docker
                    key_value_store:
                        namespace: 2
                    search:
                        namespace: at_search

Means here: DE and AT are sharing the same db … how should the config looks when i want to have DE and AT using separate databases? Since they are not in different regions, it would make no sense to create different regions for each store … 🤔 Or do i miss something general? Thanks!

Comments

  • sprymiker
    sprymiker Cloud Platform Architect Sprykee Posts: 781 🧑🏻‍🚀 - Cadet

    Probably that understanding the term region differently.

    Here region aka data-center aka persistence.

    So exactly the region defines persistence database for stores inside.

    So just decompose EU region to DE and AT with different databases.

  • UPWG9AYH2
    UPWG9AYH2 Posts: 509 🧑🏻‍🚀 - Cadet

    Thanks for clarifying that term.