Skip to content

armgit / ODS

Public Imported from GitHub
0

ODS V3 Pre-Release: Public testing and refinement ahead of the official V3 launch. Turn your PC, Mac, or Linux box into a private AI server.

896 B
Raw Blame
services:
  jsoncrack:
    image: ods/jsoncrack:a46d0d0a-local-v1
    pull_policy: build
    container_name: ods-jsoncrack
    build:
      context: .
      dockerfile: Dockerfile
    restart: unless-stopped
    security_opt:
    - no-new-privileges:true
    ports:
    - "127.0.0.1:${JSONCRACK_PORT:-11142}:8080"
    healthcheck:
      test:
      - CMD
      - wget
      - -q
      - -O
      - /dev/null
      - http://127.0.0.1:8080/editor
      interval: 30s
      timeout: 15s
      retries: 5
      start_period: 120s
    deploy:
      resources:
        limits:
          cpus: '1.0'
          memory: 256M
    logging:
      driver: json-file
      options:
        max-size: 10m
        max-file: '3'
    networks:
    - ods-network
    user: 101:101
    read_only: true
    tmpfs:
    - /tmp:rw,noexec,nosuid,size=64m
networks:
  ods-network:
    external: true
    name: ods-network