Skip to content

Conversation

@jeanmi151
Copy link
Contributor

This PR is to prepare closing the development and prepare for production

also letting possibility to still develop with it

@jeanmi151 jeanmi151 marked this pull request as draft March 5, 2025 15:06
@jeanmi151 jeanmi151 marked this pull request as ready for review March 6, 2025 12:49
Copy link
Contributor

@arnaud-morvan arnaud-morvan left a comment

Choose a reason for hiding this comment

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

Seems developer experience could be improved by changing structure of docker-compose files.
Might be discussed.

jeanmi151 and others added 2 commits March 10, 2025 11:52
Co-authored-by: Arnaud Morvan <[email protected]>
Co-authored-by: Arnaud Morvan <[email protected]>
@arnaud-morvan
Copy link
Contributor

It is also possible to set compose file in .env :

COMPOSE_FILE=docker-compose-dev.yaml

For example, but in this case it does not load docker-compose.override.yml automatically.

With :

COMPOSE_FILE=docker-compose-dev.yaml:docker-compose.override.yaml

It will raise an error if docker-compose.override.yaml does not exists.

Copy link
Contributor

@arnaud-morvan arnaud-morvan left a comment

Choose a reason for hiding this comment

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

Available for discussion

@arnaud-morvan
Copy link
Contributor

@mki-c2c you may have a look at changes in README.md file to update your local config.

Copy link
Contributor

@mki-c2c mki-c2c left a comment

Choose a reason for hiding this comment

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

seems OK

not a fan of the symlink setup, but maybe there are good reasons I did not get.
👍

environment:
MAELSTRO_BACK_HOST: maelstro-back
ports:
- "8080:8080"
Copy link
Contributor

Choose a reason for hiding this comment

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

I have trouble with this port being opened by default, because it often conflicts with other open projects.
I prefer having the port allocating in the .override file
Unfortunately .override does not allow deactivating ports
But OK, I can always comment this line

First select the `docker-compose-solo.yml` file as current composition:

```bash
ln -s docker-compose-solo.yml docker-compose.yml
Copy link
Contributor

Choose a reason for hiding this comment

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

why not choose docker-compose-geOrchestra.yml or docker-compose-solo.yml as default (docker-compose-solo.yml), which can be launched via docker compose up -d ?
The other version can be launched via docker compose -f docker-compose-solo.yml up -d This is a more standard way for docker compos, I find the symlinks quite confusing.

However this is a minor issue, the app is working well.

jeanmi151 and others added 3 commits March 12, 2025 09:53
Co-authored-by: Moritz Kirmse <[email protected]>
Co-authored-by: Moritz Kirmse <[email protected]>
Co-authored-by: Moritz Kirmse <[email protected]>
@arnaud-morvan
Copy link
Contributor

not a fan of the symlink setup, but maybe there are good reasons I did not get.

This way we do not have to specify docker-compose file on the command line each time.

It is also possible using .env file, for example:

COMPOSE_FILE=docker-compose-dev.yaml

But in this case it does not load automatically docker-compose.override.yml

You may need to add it yourself:

COMPOSE_FILE=docker-compose-dev.yaml:docker-compose.override.yml

Regards.

@jeanmi151
Copy link
Contributor Author

will merge this pr and finish in another, because many differences already

@jeanmi151 jeanmi151 merged commit f6fe88c into main May 22, 2025
3 checks passed
@jeanmi151 jeanmi151 deleted the prod_ready branch May 22, 2025 12:24
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.

4 participants