emanuelegori revised this gist . Go to revision
1 file changed, 8 insertions, 14 deletions
docker-compose.yml
| @@ -3,23 +3,17 @@ services: | |||
| 3 | 3 | image: lscr.io/linuxserver/pairdrop:latest | |
| 4 | 4 | container_name: pairdrop | |
| 5 | 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 | |
| 6 | + | - PUID=1000 | |
| 7 | + | - PGID=1000 | |
| 8 | + | - TZ=Europe/Rome | |
| 9 | + | - WS_FALLBACK=false | |
| 10 | + | - RATE_LIMIT=false | |
| 11 | + | - RTC_CONFIG=false | |
| 12 | + | - DEBUG_MODE=false | |
| 13 | 13 | ports: | |
| 14 | - | - "8080:3000" | |
| 14 | + | - "3000:3000" | |
| 15 | 15 | volumes: | |
| 16 | 16 | - ./config:/config | |
| 17 | 17 | security_opt: | |
| 18 | 18 | - no-new-privileges:true | |
| 19 | - | healthcheck: | |
| 20 | - | test: ["CMD", "curl", "-f", "http://localhost:3000"] | |
| 21 | - | interval: 30s | |
| 22 | - | retries: 3 | |
| 23 | - | start_period: 10s | |
| 24 | - | timeout: 5s | |
| 25 | 19 | restart: unless-stopped | |
emanuelegori revised this gist . Go to revision
1 file changed, 1 insertion, 3 deletions
docker-compose.yml
| @@ -14,9 +14,6 @@ services: | |||
| 14 | 14 | - "8080:3000" | |
| 15 | 15 | volumes: | |
| 16 | 16 | - ./config:/config | |
| 17 | - | restart: unless-stopped | |
| 18 | - | networks: | |
| 19 | - | - npm-internal | |
| 20 | 17 | security_opt: | |
| 21 | 18 | - no-new-privileges:true | |
| 22 | 19 | healthcheck: | |
| @@ -25,3 +22,4 @@ services: | |||
| 25 | 22 | retries: 3 | |
| 26 | 23 | start_period: 10s | |
| 27 | 24 | timeout: 5s | |
| 25 | + | restart: unless-stopped | |
emanuelegori revised this gist . Go to revision
No changes
emanuelegori revised this gist . Go to revision
1 file changed, 27 insertions
docker-compose.yml(file created)
| @@ -0,0 +1,27 @@ | |||
| 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 | |