File size: 743 Bytes
21db53c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
services:
  qdrant-database:
    image: qdrant/qdrant:latest
    ports:
      - "127.0.0.1:6333:6333"
      - "127.0.0.1:6334:6334"
    volumes:
      - "./qdrant_data:/qdrant/storage:z"
  neko-image-gallery:
    # Uncomment this section to build image from source code
    #    build:
    #      context: .
    #      dockerfile: cpu-only.Dockerfile
    image: edgeneko/neko-image-gallery:latest-cpu
    ports:
      - "8000:8000"
    volumes:
      - "./static:/opt/NekoImageGallery/static"
    environment:
      - APP_QDRANT__HOST=qdrant-database
      - APP_QDRANT__PORT=6333
      - APP_QDRANT__GRPC_PORT=6334
      - APP_QDRANT__PREFER_GRPC=True
    depends_on:
      - qdrant-database
networks:
  default:
    name: neko-image-gallery