mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-28 19:36:14 +08:00
38 lines
1008 B
YAML
38 lines
1008 B
YAML
networks:
|
|
1panel-network:
|
|
external: true
|
|
|
|
services:
|
|
windows:
|
|
image: dockurr/macos:1.16
|
|
container_name: ${CONTAINER_NAME}
|
|
labels:
|
|
createdBy: "Apps"
|
|
restart: always
|
|
stop_grace_period: 2m
|
|
networks:
|
|
- 1panel-network
|
|
ports:
|
|
- ${PANEL_APP_PORT_HTTP}:8006
|
|
- ${PANEL_APP_PORT_REMOTE}:5900/tcp
|
|
- ${PANEL_APP_PORT_REMOTE}:5900/udp
|
|
cap_add:
|
|
- NET_ADMIN
|
|
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:
|
|
- ${MACOS_STORAGE_ROOT_PATH}/storage:/storage
|
|
environment:
|
|
- VERSION=${VERSION}
|