docker-compose.yml
· 869 B · YAML
Raw
services:
pairdrop:
image: lscr.io/linuxserver/pairdrop:latest
container_name: pairdrop
environment:
- PUID=1000 # UID to run the application as
- PGID=1000 # GID to run the application as
- TZ=Europe/Rome # Time Zone
- WS_FALLBACK=false # Enable websocket fallback if WebRTC is unavailable
- RATE_LIMIT=false # Limit clients to 1000 requests per 5 min
- RTC_CONFIG=false # Path to STUN/TURN server configuration file
- DEBUG_MODE=false # Enable debug mode for troubleshooting
ports:
- "8080:3000"
volumes:
- ./config:/config
restart: unless-stopped
networks:
- npm-internal
security_opt:
- no-new-privileges:true
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:3000"]
interval: 30s
retries: 3
start_period: 10s
timeout: 5s
| 1 | services: |
| 2 | pairdrop: |
| 3 | image: lscr.io/linuxserver/pairdrop:latest |
| 4 | container_name: pairdrop |
| 5 | environment: |
| 6 | - PUID=1000 # UID to run the application as |
| 7 | - PGID=1000 # GID to run the application as |
| 8 | - TZ=Europe/Rome # Time Zone |
| 9 | - WS_FALLBACK=false # Enable websocket fallback if WebRTC is unavailable |
| 10 | - RATE_LIMIT=false # Limit clients to 1000 requests per 5 min |
| 11 | - RTC_CONFIG=false # Path to STUN/TURN server configuration file |
| 12 | - DEBUG_MODE=false # Enable debug mode for troubleshooting |
| 13 | ports: |
| 14 | - "8080:3000" |
| 15 | volumes: |
| 16 | - ./config:/config |
| 17 | restart: unless-stopped |
| 18 | networks: |
| 19 | - npm-internal |
| 20 | security_opt: |
| 21 | - no-new-privileges:true |
| 22 | healthcheck: |
| 23 | test: ["CMD", "curl", "-f", "http://localhost:3000"] |
| 24 | interval: 30s |
| 25 | retries: 3 |
| 26 | start_period: 10s |
| 27 | timeout: 5s |
| 28 |