Skip to content

Commit

Permalink
chore(without-vpn): add docker compose without vpn
Browse files Browse the repository at this point in the history
  • Loading branch information
iam4x committed Apr 6, 2020
1 parent 774150f commit aaed3e5
Show file tree
Hide file tree
Showing 2 changed files with 104 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,17 @@ And to have something with a better ui, less configuration and faster 馃殌
* Go to http://localhost:3000/settings
* Set your region and language according to your torrent tracker

### Run without VPN

This is not recommended, but you can start downloading torrents without a VPN with the `docker-compose.without-vpn.yml`

* `mv docker-compose.yml docker-compose.with-vpn.yml`
* `mv docker-compose.without-vpn.yml docker-compose.yml`

And makes sure to restart the all stack with

* `$ docker-compose up --force-recreate`

## Usage

* After configuration, go to http://localhost:3000 and just start searching!
Expand Down
93 changes: 93 additions & 0 deletions docker-compose.without-vpn.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
version: "3.4"

volumes:
db_data:
redis_data:
api_node_modules:
web_node_modules:
web_build:

networks:
default:

services:
api:
container_name: bobarr-api
build:
context: ./packages/api
env_file: .env
volumes:
- ./packages/api:/usr/src/app
- ./library:/usr/library
- api_node_modules:/usr/src/app/node_modules
ports:
- 4000:4000
- 9229:9229
depends_on:
- postgres
- redis
- jackett
- transmission
command: yarn start:prod
# command: yarn dev
restart: unless-stopped

web:
container_name: bobarr-web
build:
context: ./packages/web
env_file: .env
volumes:
- ./packages/web:/usr/src/app
- web_node_modules:/usr/src/app/node_modules
- web_build:/usr/src/app/.next
ports:
- 3000:3000
depends_on:
- api
command: yarn start
# command: yarn dev
restart: unless-stopped

postgres:
container_name: bobarr-postgresql
image: postgres:12-alpine
env_file: .env
volumes:
- db_data:/var/lib/postgresql/data
ports:
- 5432:5432
restart: unless-stopped

jackett:
image: linuxserver/jackett
container_name: bobarr-jacket
env_file: .env
volumes:
- ./packages/jackett/config:/config
- ./packages/jackett/downloads:/downloads
ports:
- 9117:9117
restart: unless-stopped

redis:
container_name: bobarr-redis
image: bitnami/redis:5.0.6
restart: always
ports:
- 6379:6379
env_file: .env
restart: unless-stopped
volumes:
- redis_data:/bitnami/redis/data

transmission:
image: linuxserver/transmission
container_name: bobarr-transmission
env_file: .env
ports:
- 9091:9091
volumes:
- ./library/downloads:/downloads
- ./packages/transmission/config:/config
- ./packages/transmission/watch:/watch

0 comments on commit aaed3e5

Please sign in to comment.