forked from hv0905/NekoImageGallery
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
36 lines (36 loc) · 912 Bytes
/
docker-compose.yml
File metadata and controls
36 lines (36 loc) · 912 Bytes
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
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: Dockerfile
image: edgeneko/neko-image-gallery:latest
ports:
- "127.0.0.1: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
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 1
capabilities:
- gpu
networks:
default:
name: neko-image-gallery