Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/improve docker compose #139

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

tdahar
Copy link
Contributor

@tdahar tdahar commented Nov 7, 2023

Motivation

The docker setup was made at the very beginning of the repository lifetime and it needs to be updated.
With this new setup, the docker images should be a lot smaller and docker-compose is easier to understand.

Description

We have enabled production mode in the Dockerfiles, removed unnecessary variable MYFOLDER and loaded .env files directly from the subfolders. Docker images should weight less than half as before and we also changed the names of the images and containers, before it was fixed and we could not now the folder it was running from.
We have also added a local network which should improve security and make it easier for other containers to join the internal network and connect to the containers.

@tdahar tdahar requested a review from josepchetrit12 November 7, 2023 14:07
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.

1 participant