feat:添加hivision-id-photo到列表
This commit is contained in:
26
apps/hivision-id-photo/latest-gpu/docker-compose.yml
Normal file
26
apps/hivision-id-photo/latest-gpu/docker-compose.yml
Normal file
@@ -0,0 +1,26 @@
|
||||
services:
|
||||
hivision-id-photo:
|
||||
image: "linzeyi/hivision_idphotos:latest"
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- "${PANEL_APP_PORT_HTTP}:${PANEL_APP_PORT_HTTP_INTERNAL}"
|
||||
environment:
|
||||
- FACE_PLUS_API_KEY=${FACE_PLUS_API_KEY}
|
||||
- FACE_PLUS_API_SECRET=${FACE_PLUS_API_SECRET}
|
||||
- RUN_MODE=${RUN_MODE}
|
||||
- DEFAULT_LANG=${DEFAULT_LANG}
|
||||
command: ${COMMAND}
|
||||
deploy:
|
||||
resources:
|
||||
reservations:
|
||||
devices:
|
||||
- capabilities: [gpu]
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
Reference in New Issue
Block a user