Skip to content
Snippets Groups Projects
docker-compose.yml 896 B
Newer Older
nimrod's avatar
nimrod committed
---
version: '3.7'
services:
  registry:
nimrod's avatar
nimrod committed
    environment:
      REGISTRY_STORAGE_DELETE_ENABLED: "true"
nimrod's avatar
nimrod committed
    healthcheck:
      test:
        - CMD-SHELL
        - >-
          wget
          --spider
          http://127.0.0.1:5000/v2/_catalog
          || exit 1
nimrod's avatar
nimrod committed
    image: registry.hub.docker.com/library/registry:2.8.3
nimrod's avatar
nimrod committed
    restart: always
    volumes:
      - "registry:/var/lib/registry"
nimrod's avatar
nimrod committed
  reg:
    command:
      - "server"
      - "--registry"
      - "registry.shore.co.il"
      - "--interval"
      - "5m"
    healthcheck:
      test:
        - CMD-SHELL
        - >-
          wget
          --spider
          http://127.0.0.1:8080/
          || exit 1
    image: r.j3ss.co/reg:v0.16.1
    restart: always

nimrod's avatar
nimrod committed
  crond:
    build:
      context: crond/
    restart: always
    volumes:
      - /run/docker.sock:/run/docker.sock

nimrod's avatar
nimrod committed
volumes:
  registry:

networks:
  default:
    name: shore