Skip to content
This repository has been archived by the owner on Jun 28, 2023. It is now read-only.

added docker-compose example #53

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
13 changes: 13 additions & 0 deletions docker-compose_example/README.MD
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# How to use docker-compose

### WHY
when you have multiple docker's that are dependent of each other, and you are in need of a simpler way of starting and stopping them :)

### INSTALL
https://docs.docker.com/compose/install/#install-compose

### USAGE
```bash
cp example.env .env
docker-compose up -d
```
37 changes: 37 additions & 0 deletions docker-compose_example/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
version: '3'
services:
rflood:
image: binhex/arch-rtorrentvpn
container_name: rflood
hostname: rflood
ports:
- "9080:9080"
- "9443:9443"
- "8118:8118"
- "3000:3000"
- "9091:9091"
- "8888:8888"
cap_add:
- NET_ADMIN
devices:
- /dev/net/tun
environment:
- VPN_ENABLED
- VPN_USER
- VPN_PASS
- VPN_PROV
- STRICT_PORT_FORWARD
- ENABLE_PRIVOXY
- ENABLE_FLOOD
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where does this ENABLE_FLOOD come from? It's not in the main documentation. Curious because I'd like rflood :)

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I used to support flood but it was too buggy and lacked a lot of features, so I removed it

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah got it. I was looking for a mobile friendly alternative and rflood seemed to be it. Thanks

- ENABLE_AUTODL_IRSSI
- LAN_NETWORK
- NAME_SERVERS
- DEBUG
- PHP_TZ
- PGID
- PUID
volumes:
- ${CONFIG}/rflood:/config
- ${DOWNLOAD}/rflood:/data
- /etc/localtime:/etc/localtime:ro
restart: always
19 changes: 19 additions & 0 deletions docker-compose_example/example.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
CONFIG=/where/you/keep/configs
DOWNLOAD=/where/you/keep/downloads

TZ=Europe/Oslo
PGID=1000
PUID=1000

PHP_TZ=UTC
DEBUG=false
NAME_SERVERS=1.1.1.1,8.8.8.8
LAN_NETWORK=192.168.1.0/24
ENABLE_AUTODL_IRSSI=no
ENABLE_FLOOD=yes
ENABLE_PRIVOXY=yes
STRICT_PORT_FORWARD=yes
VPN_ENABLED=yes
VPN_PROV=custom
VPN_USER=tiger
VPN_PASS=rawr