version: '2'

services:

  gp-lookup:
    image: nhsuk/gp-lookup:$DOCKER_IMAGE_TAG
    labels:
      io.rancher.container.pull_image: always
      traefik.enable: stack
      traefik.domain: $TRAEFIK_DOMAIN
      traefik.port: 9292
      map-public-http: 9292
    logging:
      driver: splunk
      options:
        splunk-url: ${SPLUNK_HEC_URL}
        splunk-token: ${SPLUNK_HEC_TOKEN}
        splunk-insecureskipverify: "true"
        splunk-sourcetype: docker
        splunk-source: gp-lookup
        splunk-verify-connection: "false"


version: '2'

services:

  gp-lookup:
    image: nhsuk/gp-lookup:$DOCKER_IMAGE_TAG
    labels:
      io.rancher.container.pull_image: always
      traefik.enable: stack
      traefik.domain: $TRAEFIK_DOMAIN
      traefik.port: 9292
      map-public-http: 9292
    logging:
      driver: splunk
      options:
        splunk-url: ${SPLUNK_HEC_URL}
        splunk-token: ${SPLUNK_HEC_TOKEN}
        splunk-insecureskipverify: "true"
        splunk-sourcetype: docker
        splunk-source: gp-lookup
        splunk-verify-connection: "false"
        tag: '{{.ImageName}} {{.Name}} {{.FullID}}'

Add log tag so we can search via imagename
Add log tag so we can search via imagename
