Commit 61c5aa94 authored by Luca Cinquini's avatar Luca Cinquini
Browse files

Backtracking on stopping the esgf-auth container.

parent 9b076a9c
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -75,10 +75,6 @@ services:
  esgf-auth:
    image: esgfhub/esgf-auth:${ESGF_VERSION}
    container_name: esgf-auth
    # override image command by starting supervisor and exiting immediately
    # which will also cause the container to exit after initialization
    # (i.e. after the volume is initialized)
    command: ["supervisord", "-v"]
    volumes:
      - esgf_auth_install:/usr/local/esgf-auth

+1 −6
Original line number Diff line number Diff line
@@ -230,15 +230,10 @@ services:
  # so they can share data in the volume 'esgf_auth_install'
  esgf-auth:
    image: ${ESGF_IMAGES_HUB-esgfhub}/esgf-auth:${ESGF_VERSION-latest}
    # override image command by starting supervisor and exiting immediately
    # which will also cause the container to exit after initialization
    # (i.e. after the volume is initialized)
    command: ["supervisord", "-v"]
    volumes:
      - esgf_auth_install:/usr/local/esgf-auth
    # use 0 replicas to prevent Docker from keep trying to restart the container
    deploy:
      replicas: 0
      replicas: 1
      placement:
        constraints: [node.labels.esgf_front_node == true]