-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Dockerfile and docker-compose for webmonchow integration
Upgraded Miniconda from 4.12.0 to 23.3.1-0 and revised webmonchow installation. Added health check for ActiveMQ in docker-compose to enhance service reliability. Signed-off-by: Jose Borreguero <[email protected]>
- Loading branch information
Showing
2 changed files
with
9 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,13 @@ | ||
FROM continuumio/miniconda3:4.12.0 | ||
|
||
# Install conda-libmamba-solver | ||
RUN conda update -n base -c defaults conda | ||
# Miniconda with native Python 3.10 | ||
FROM continuumio/miniconda3:23.3.1-0 | ||
RUN conda install --yes -n base conda-libmamba-solver | ||
|
||
# Install Python 3.10 and PostgreSQL using libmamba solver | ||
RUN conda install --yes --solver=libmamba -c conda-forge python=3.10 postgresql=14 | ||
|
||
# Install webmonchow | ||
RUN python -m pip install git+https://github.com/neutrons/webmonchow.git@next#egg=webmonchow | ||
RUN conda install --yes --solver=libmamba -n base -c conda-forge -c neutrons postgresql=14 webmonchow=1.0.0 | ||
|
||
# Install webmonchow from a feature branch (only to test the latest changes in webmonchow) | ||
# RUN conda install --yes --solver=libmamba -n base -c conda-forge postgresql=14 | ||
#RUN python -m pip install git+https://github.com/neutrons/webmonchow.git@next#egg=webmonchow | ||
|
||
# Start the AMQ and PV generators when starting the container | ||
CMD ["sh", "-c", "broadcast_pv & broadcast_amq --broker \"activemq:61613\" & wait"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters