Fixes #35 not working docker-compose.yml
This commit is contained in:
@@ -73,6 +73,8 @@
|
|||||||
- For TCP strong encryption, allow outbound TCP 501
|
- For TCP strong encryption, allow outbound TCP 501
|
||||||
- For TCP normal encryption, allow outbound TCP 502
|
- For TCP normal encryption, allow outbound TCP 502
|
||||||
- For the built-in web HTTP proxy, allow inbound TCP 8888
|
- For the built-in web HTTP proxy, allow inbound TCP 8888
|
||||||
|
- Docker API 1.25 to support `init`
|
||||||
|
- If you use Docker Compose, docker-compose >= 1.22.0, to support `init: true`
|
||||||
|
|
||||||
</p></details>
|
</p></details>
|
||||||
|
|
||||||
@@ -208,11 +210,12 @@ There are various ways to achieve this, depending on your use case.
|
|||||||
The docker-compose.yml file would look like:
|
The docker-compose.yml file would look like:
|
||||||
|
|
||||||
```yml
|
```yml
|
||||||
version: '3'
|
version: '3.7'
|
||||||
services:
|
services:
|
||||||
pia:
|
pia:
|
||||||
image: qmcgaw/private-internet-access
|
image: qmcgaw/private-internet-access
|
||||||
container_name: pia
|
container_name: pia
|
||||||
|
init: true
|
||||||
cap_add:
|
cap_add:
|
||||||
- NET_ADMIN
|
- NET_ADMIN
|
||||||
devices:
|
devices:
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
version: '3'
|
version: '3.7'
|
||||||
services:
|
services:
|
||||||
pia:
|
pia:
|
||||||
build: https://github.com/qdm12/private-internet-access-docker.git
|
build: https://github.com/qdm12/private-internet-access-docker.git
|
||||||
@@ -12,7 +12,7 @@ services:
|
|||||||
init: true
|
init: true
|
||||||
ports:
|
ports:
|
||||||
- 8888:8888/tcp
|
- 8888:8888/tcp
|
||||||
command:
|
# command:
|
||||||
environment:
|
environment:
|
||||||
- USER=js89ds7
|
- USER=js89ds7
|
||||||
- PASSWORD=8fd9s239G
|
- PASSWORD=8fd9s239G
|
||||||
|
|||||||
Reference in New Issue
Block a user