mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-28 16:26:19 +08:00
34 lines
933 B
YAML
34 lines
933 B
YAML
networks:
|
|
1panel-network:
|
|
external: true
|
|
|
|
name: immich-machine-learning
|
|
|
|
services:
|
|
immich-machine-learning:
|
|
image: ghcr.io/immich-app/immich-machine-learning:v1.118.2
|
|
container_name: immich-machine-learning-${CONTAINER_NAME}
|
|
labels:
|
|
createdBy: "Apps"
|
|
restart: always
|
|
networks:
|
|
- 1panel-network
|
|
devices:
|
|
- /dev/dri:/dev/dri
|
|
# - /dev/nvidia0:/dev/nvidia0
|
|
# - /dev/nvidiactl:/dev/nvidiactl
|
|
# - /dev/nvidia-modeset:/dev/nvidia-modeset
|
|
# - /dev/nvidia-nvswitchctl:/dev/nvidia-nvswitchctl
|
|
# - /dev/nvidia-uvm:/dev/nvidia-uvm
|
|
# - /dev/nvidia-uvm-tools:/dev/nvidia-uvm-tools
|
|
# - /dev/video11:/dev/video11
|
|
ports:
|
|
- ${PANEL_APP_PORT_HTTP}:3003
|
|
env_file:
|
|
- /etc/1panel/envs/global.env
|
|
- ${ENV_FILE:-/etc/1panel/envs/default.env}
|
|
volumes:
|
|
- ${IMMICH_ROOT_PATH}/data/cache:/cache
|
|
healthcheck:
|
|
disable: false
|