Fixes #35 not working docker-compose.yml

This commit is contained in:
Quentin McGaw
2019-07-28 18:18:59 -04:00
parent f1427e4aad
commit 9eac515f31
2 changed files with 6 additions and 3 deletions

View File

@@ -73,6 +73,8 @@
- For TCP strong encryption, allow outbound TCP 501
- For TCP normal encryption, allow outbound TCP 502
- 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>
@@ -208,11 +210,12 @@ There are various ways to achieve this, depending on your use case.
The docker-compose.yml file would look like:
```yml
version: '3'
version: '3.7'
services:
pia:
image: qmcgaw/private-internet-access
container_name: pia
init: true
cap_add:
- NET_ADMIN
devices:

View File

@@ -1,4 +1,4 @@
version: '3'
version: '3.7'
services:
pia:
build: https://github.com/qdm12/private-internet-access-docker.git
@@ -12,7 +12,7 @@ services:
init: true
ports:
- 8888:8888/tcp
command:
# command:
environment:
- USER=js89ds7
- PASSWORD=8fd9s239G