diff --git a/README.md b/README.md index 3268dc99..2fe3b694 100644 --- a/README.md +++ b/README.md @@ -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`

@@ -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: diff --git a/docker-compose.yml b/docker-compose.yml index f685fe79..811a4f87 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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