services:
  webdis:
    image: nicolas/webdis:latest
    restart: always
    labels:
      com.centurylinklabs.watchtower.enable: true
    command: /usr/local/bin/webdis /config/webdis.json
    volumes:
      - ./webdis.json:/config/webdis.json
    networks:
      local-net:
      apps:
        aliases:
          - webdis
    depends_on:
      - redis

  redis:
    image: redis:6.2.6
    restart: always
    labels:
      com.centurylinklabs.watchtower.enable: true
    networks:
      local-net:

networks:
  local-net:
  apps:
    external: true