Commit fe8e1b4b authored by Luca Cinquini's avatar Luca Cinquini
Browse files

Making CoG container exit after initialization.

parent 4ee304b6
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -42,6 +42,6 @@ if [ $RUNSERVER == "true" ]; then
   sleep 2
   tail -f /tmp/cog.log
# or keep the container running by starting supervisor without including sub-processes
else
   supervisord --nodaemon -c /etc/supervisord_noothers.conf
#else
#   supervisord --nodaemon -c /etc/supervisord_noothers.conf
fi
+2 −0
Original line number Diff line number Diff line
@@ -93,6 +93,8 @@ services:

  # CoG
  # data container to hold CoG source code and python virtual environment
  # this container stops after the volume 'cog_data' is initialized
  # because of the shared volume, this container must be co-located with the httpd container
  esgf-cog:
    image: ${ESGF_IMAGES_HUB-esgfhub}/esgf-cog:${ESGF_VERSION-latest}
    ports: