mirror of
https://github.com/ilteoood/docker-surfshark.git
synced 2025-12-21 13:23:02 +01:00
Improved docker-compose example
This commit is contained in:
@@ -2,7 +2,7 @@ version: "2"
|
||||
|
||||
services:
|
||||
surfshark:
|
||||
image: ilteoood:latest
|
||||
image: ilteoood/docker-surfshark
|
||||
container_name: surfshark
|
||||
environment:
|
||||
- SURFSHARK_USER=YOUR_SURFSHARK_USER
|
||||
@@ -14,4 +14,14 @@ services:
|
||||
- NET_ADMIN
|
||||
devices:
|
||||
- /dev/net/tun
|
||||
restart: unless-stopped
|
||||
restart: unless-stopped
|
||||
dns:
|
||||
- 1.1.1.1
|
||||
service_test:
|
||||
image: byrnedo/alpine-curl
|
||||
container_name: alpine
|
||||
command: -L 'https://ipinfo.io'
|
||||
depends_on:
|
||||
- surfshark
|
||||
network_mode: service:surfshark
|
||||
restart: always
|
||||
Reference in New Issue
Block a user