2024-11-05 17:04:38 +08:00
|
|
|
networks:
|
|
|
|
1panel-network:
|
|
|
|
external: true
|
|
|
|
|
|
|
|
services:
|
|
|
|
windows:
|
2024-11-12 03:42:27 +08:00
|
|
|
image: dockurr/windows:4.02
|
2024-11-05 17:04:38 +08:00
|
|
|
container_name: ${CONTAINER_NAME}
|
|
|
|
labels:
|
|
|
|
createdBy: "Apps"
|
|
|
|
restart: always
|
2024-11-07 10:56:15 +08:00
|
|
|
stop_grace_period: 2m
|
2024-11-05 17:04:38 +08:00
|
|
|
networks:
|
|
|
|
- 1panel-network
|
|
|
|
ports:
|
|
|
|
- ${PANEL_APP_PORT_HTTP}:8006
|
|
|
|
- ${PANEL_APP_PORT_REMOTE}:3389/tcp
|
|
|
|
- ${PANEL_APP_PORT_REMOTE}:3389/udp
|
2024-11-07 10:53:25 +08:00
|
|
|
cap_add:
|
|
|
|
- NET_ADMIN
|
2024-11-05 17:04:38 +08:00
|
|
|
devices:
|
|
|
|
- /dev/kvm:/dev/kvm
|
|
|
|
- /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
|
|
|
|
env_file:
|
|
|
|
- /etc/1panel/envs/global.env
|
|
|
|
- ${ENV_FILE:-/etc/1panel/envs/default.env}
|
|
|
|
volumes:
|
|
|
|
- ${WINDOWS_STORAGE_ROOT_PATH}/storage:/storage
|
|
|
|
- ${WINDOWS_SHARE_ROOT_PATH}/share:/data
|
|
|
|
- ${WINDOWS_OEM_ROOT_PATH}/oem:/oem
|
|
|
|
environment:
|
|
|
|
- REGION=en-US
|
|
|
|
- KEYBOARD=en-US
|
2024-11-07 10:53:25 +08:00
|
|
|
- VERSION=${VERSION}
|