Brijesh's Git Server — k3yst0n3 @ 95b6130fad85dcb7f7c4a0657b33eef63367ea78

docker-compose.yaml (view raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
services:
  postgres:
    image: postgres:latest
    environment:
      - POSTGRES_DB=keystone_db
      - POSTGRES_USER=postgres
      - POSTGRES_PASSWORD=postgres
    restart: always
    healthcheck:
      test: ["CMD-SHELL", "pg_isready"]
      interval: 30s
      timeout: 5s
      retries: 5
    ports:
      - '5432:5432'
    volumes:
      - postgres_volume:/var/lib/postgresql/data
  minio:
    image: quay.io/minio/minio:latest
    command: server --console-address ":9001" /data
    restart: always
    ports:
      - "9000:9000"
      - "9001:9001"
    expose:
      - "9000"
      - "9001"
    healthcheck:
      test: ["CMD", "mc", "ready", "local"]
      interval: 30s
      timeout: 5s
      retries: 5
    volumes:
      - minio_volume:/data
  k3yst0n3:
    hostname: k3yst0n3
    build: .
    depends_on:
      - postgres
      - minio
    ports:
      - 4000:4000

volumes:
  postgres_volume:
  minio_volume: