Code Monkey home page Code Monkey logo

docker-pia's People

Contributors

wiorca avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

docker-pia's Issues

Allow local network access?

I was trying to use this along with transmission-qt inside of a docker-compose stack:

---
version: "3.5"

services:
  docker-pia:
    image: wiorca/docker-pia
    container_name: docker-pia
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=America/New_York
      - PIA_USERNAME=p...
      - PIA_PASSWORD=<REDACTED>
      - PIA_DEBUG_LOGGING=false
      - PIA_PROTOCOL=openvpn
      - PIA_PORT_FORWARD=false
      - PIA_REGION=auto
    volumes:
      - /location/on/host:/config
    dns:
      - 8.8.8.8
    cap_add:
      - NET_ADMIN
    ports:
      # for transmission
      - 9091:9091
      - 51413:51413
    restart: unless-stopped

  transmission:
    image: lscr.io/linuxserver/transmission:latest
    container_name: transmission
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=America/Los_Angeles
      #- TRANSMISSION_WEB_HOME= #optional
      #- USER= #optional
      #- PASS= #optional
      #- WHITELIST= #optional
      #- PEERPORT= #optional
      #- HOST_WHITELIST= #optional
    volumes:
      # MY_PATH:CONTAINER_PATH
      - /tmp/config:/config
      - /tmp/downloads:/downloads
      - /tmp/watch:/watch

    network_mode: service:docker-pia
    restart: unless-stopped


volumes:
  pia:
  pia-shared:

I couldn't seem to access transmission's port 9091. I'm guessing that PIA is doing something to block local network access. Is there a setting to overcome this? Thanks!

What is the use of `/config`?

The README.md lists ways to mount config in and states:

The home directory of docker_user, and where configuration files will live

What configuration files go here? I tried running this image with an empty directory here and nothing was ever written to this. Does piactl read from it somehow?

Or is this direction just meant so that the docker user can have persistence across restarts, and users can use it however they please?

License

Would it be possible to add an Open Source license to this repo so that others may more easily use / extend it? The MIT or GPLv3 licenses are common choices but if you are interested in exploring the options I recommend checking out: https://choosealicense.com/

Container Constantly Restarts After First Use

I am running the container through docker compose.
It works fine on first use but if I restart the container it then just is in a constant loop of restarting.
The message the container spits out when attached is:
Already logged into account {account name}

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.