Fixed docker-compose example in readme, fixes #21

This commit is contained in:
Quentin McGaw
2019-04-02 14:54:46 +02:00
parent 27802ba886
commit c5cb4f535c

View File

@@ -214,7 +214,6 @@ services:
- NET_ADMIN - NET_ADMIN
devices: devices:
- /dev/net/tun - /dev/net/tun
network_mode: bridge
environment: environment:
- USER=js89ds7 - USER=js89ds7
- PASSWORD=8fd9s239G - PASSWORD=8fd9s239G
@@ -233,17 +232,23 @@ services:
links: links:
- pia:deluge - pia:deluge
- pia:hydra - pia:hydra
depends_on:
- pia
volumes: volumes:
- ./nginx.conf:/etc/nginx/nginx.conf:ro - ./nginx.conf:/etc/nginx/nginx.conf:ro
deluge: deluge:
image: linuxserver/deluge image: linuxserver/deluge
container_name: deluge container_name: deluge
network_mode: "container:pia" network_mode: "container:pia"
depends_on:
- pia
# add more volumes etc. # add more volumes etc.
hydra: hydra:
image: linuxserver/hydra image: linuxserver/hydra
container_name: hydra container_name: hydra
network_mode: "container:hydra" network_mode: "container:hydra"
depends_on:
- pia
# add more volumes etc. # add more volumes etc.
``` ```