mirror of
https://github.com/ilteoood/docker-surfshark.git
synced 2025-12-21 13:23:02 +01:00
Merge branch 'master' into web-ui
This commit is contained in:
10
.github/workflows/build_only.yml
vendored
10
.github/workflows/build_only.yml
vendored
@@ -18,11 +18,13 @@ jobs:
|
|||||||
platform: linux/amd64,linux/arm64,linux/ppc64le,linux/s390x,linux/386,linux/arm/v7,linux/arm/v6
|
platform: linux/amd64,linux/arm64,linux/ppc64le,linux/s390x,linux/386,linux/arm/v7,linux/arm/v6
|
||||||
imageName: ilteoood/docker-surfshark
|
imageName: ilteoood/docker-surfshark
|
||||||
- name: Scan image
|
- name: Scan image
|
||||||
uses: anchore/scan-action@master
|
uses: anchore/scan-action@v2
|
||||||
with:
|
with:
|
||||||
image-reference: "ilteoood/docker-surfshark:latest"
|
image: "ilteoood/docker-surfshark:latest"
|
||||||
dockerfile-path: "./Dockerfile"
|
|
||||||
fail-build: true
|
fail-build: true
|
||||||
include-app-packages: true
|
acs-report-enable: true
|
||||||
|
severity-cutoff: critical
|
||||||
- name: Anchore inline scan JSON results
|
- name: Anchore inline scan JSON results
|
||||||
run: for j in `ls ./anchore-reports/*.json`; do echo "---- ${j} ----"; cat ${j}; echo; done
|
run: for j in `ls ./anchore-reports/*.json`; do echo "---- ${j} ----"; cat ${j}; echo; done
|
||||||
|
- name: Inspect action SARIF report
|
||||||
|
run: cat ${{ steps.scan.outputs.sarif }}
|
||||||
14
README.md
14
README.md
@@ -39,6 +39,7 @@ The container is configurable using 5 environment variables:
|
|||||||
## Execution
|
## Execution
|
||||||
|
|
||||||
You can run this image using [Docker compose](https://docs.docker.com/compose/) and the [sample file](./docker-compose.yml) provided.
|
You can run this image using [Docker compose](https://docs.docker.com/compose/) and the [sample file](./docker-compose.yml) provided.
|
||||||
|
** Remember: if you want to use the web gui of a container, you must open its ports on `docker-surfshark` as described below. **
|
||||||
|
|
||||||
```
|
```
|
||||||
version: "2"
|
version: "2"
|
||||||
@@ -58,6 +59,8 @@ services:
|
|||||||
- NET_ADMIN
|
- NET_ADMIN
|
||||||
devices:
|
devices:
|
||||||
- /dev/net/tun
|
- /dev/net/tun
|
||||||
|
ports:
|
||||||
|
- 9091:9091 #we open here the port for transmission, as this container will be the access point for the others
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
dns:
|
dns:
|
||||||
- 1.1.1.1
|
- 1.1.1.1
|
||||||
@@ -69,6 +72,17 @@ services:
|
|||||||
- surfshark
|
- surfshark
|
||||||
network_mode: service:surfshark
|
network_mode: service:surfshark
|
||||||
restart: always
|
restart: always
|
||||||
|
transmission:
|
||||||
|
image: linuxserver/transmission
|
||||||
|
container_name: transmission
|
||||||
|
environment:
|
||||||
|
- PUID=1000
|
||||||
|
- PGID=1000
|
||||||
|
- TZ=Europe/Rome
|
||||||
|
#ports:
|
||||||
|
#- 9091:9091 needed to access transmission's GUI
|
||||||
|
network_mode: service:surfshark
|
||||||
|
restart: unless-stopped
|
||||||
```
|
```
|
||||||
|
|
||||||
Or you can use the standard `docker run` command.
|
Or you can use the standard `docker run` command.
|
||||||
|
|||||||
@@ -11,12 +11,12 @@ services:
|
|||||||
- SURFSHARK_CITY=mil
|
- SURFSHARK_CITY=mil
|
||||||
- CONNECTION_TYPE=udp
|
- CONNECTION_TYPE=udp
|
||||||
- LAN_NETWORK=192.168.0.0/24 #Optional - Used to access attached containers web ui
|
- LAN_NETWORK=192.168.0.0/24 #Optional - Used to access attached containers web ui
|
||||||
ports:
|
|
||||||
- 1880:1880 #Optional - Used to access attached containers web ui
|
|
||||||
cap_add:
|
cap_add:
|
||||||
- NET_ADMIN
|
- NET_ADMIN
|
||||||
devices:
|
devices:
|
||||||
- /dev/net/tun
|
- /dev/net/tun
|
||||||
|
ports:
|
||||||
|
- 9091:9091 #We open here the port for transmission, as this container will be the access point for the others
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
dns:
|
dns:
|
||||||
- 1.1.1.1
|
- 1.1.1.1
|
||||||
@@ -28,4 +28,14 @@ services:
|
|||||||
- surfshark
|
- surfshark
|
||||||
network_mode: service:surfshark
|
network_mode: service:surfshark
|
||||||
restart: always
|
restart: always
|
||||||
|
transmission:
|
||||||
|
image: linuxserver/transmission
|
||||||
|
container_name: transmission
|
||||||
|
environment:
|
||||||
|
- PUID=1000
|
||||||
|
- PGID=1000
|
||||||
|
- TZ=Europe/Rome
|
||||||
|
#ports:
|
||||||
|
#- 9091:9091 needed to access transmission's GUI
|
||||||
|
network_mode: service:surfshark
|
||||||
|
restart: unless-stopped
|
||||||
|
|||||||
Reference in New Issue
Block a user