This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: '3' # Specify the Docker Compose version | |
| services: | |
| adguardhome: # Define the service named 'adguardhome' | |
| image: adguard/adguardhome # Use the 'adguard/adguardhome' Docker image | |
| container_name: adguardhome # Set the container name to 'adguardhome' | |
| restart: unless-stopped # Restart the container automatically unless stopped manually | |
| ports: # Map container ports to host ports | |
| # Expose port 53 on TCP and UDP for DNS queries | |
| - "53:53/tcp" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #! /bin/bash | |
| IFS=: read -r busnum devnum <<< "$1" | |
| busnum=$(printf "%03i" $busnum) | |
| devnum=$(printf "%03i" $devnum) | |
| xboxdrv --device-by-path ${busnum}:${devnum} --type xbox360 --silent --force-feedback |