Upgrade to docker-compose.yml v2
This deprecates older docker-compose versions and would require >=v1.6.0 to run.
This commit is contained in:
parent
2578827aa8
commit
09c87b8b30
|
@ -23,7 +23,7 @@ if you do this.
|
|||
## Running
|
||||
```sh
|
||||
$ docker-compose pull
|
||||
$ docker-compose --x-networking up -d
|
||||
$ docker-compose up -d
|
||||
```
|
||||
Make sure you install the dependencies and finish configuration before doing
|
||||
this.
|
||||
|
@ -33,7 +33,7 @@ You may optionally build the images yourself instead of pulling by running
|
|||
|
||||
## Dependencies
|
||||
- [Docker](https://github.com/docker/docker)
|
||||
- [Docker Compose](https://github.com/docker/compose)
|
||||
- [Docker Compose](https://github.com/docker/compose) >=v1.6.0
|
||||
|
||||
## Configuration
|
||||
Copy the `config.default` file to `config` and change the variables as desired.
|
||||
|
|
|
@ -1,64 +1,82 @@
|
|||
version: '2'
|
||||
|
||||
networks:
|
||||
main:
|
||||
|
||||
volumes:
|
||||
config:
|
||||
driver: local
|
||||
torrents:
|
||||
driver: local
|
||||
|
||||
services:
|
||||
frontend:
|
||||
image: kelvinchen/seedbox:frontend
|
||||
restart: always
|
||||
net: seedbox
|
||||
networks:
|
||||
- main
|
||||
ports:
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
volumes:
|
||||
- seedbox_config:/config
|
||||
- config:/config
|
||||
env_file:
|
||||
- config
|
||||
|
||||
rtorrent:
|
||||
image: kelvinchen/seedbox:rtorrent
|
||||
restart: always
|
||||
net: seedbox
|
||||
networks:
|
||||
- main
|
||||
ports:
|
||||
- "49161:49161"
|
||||
- "49161:49161/udp"
|
||||
- "6881:6881/udp"
|
||||
volumes:
|
||||
- seedbox_config:/config
|
||||
- seedbox_torrents:/torrents
|
||||
- config:/config
|
||||
- torrents:/torrents
|
||||
|
||||
plex:
|
||||
image: kelvinchen/seedbox:plex
|
||||
restart: always
|
||||
net: seedbox
|
||||
networks:
|
||||
- main
|
||||
ports:
|
||||
- "32400:32400"
|
||||
volumes:
|
||||
- seedbox_config:/config
|
||||
- seedbox_torrents:/torrents
|
||||
- config:/config
|
||||
- torrents:/torrents
|
||||
|
||||
sickrage:
|
||||
image: kelvinchen/seedbox:sickrage
|
||||
restart: always
|
||||
net: seedbox
|
||||
networks:
|
||||
- main
|
||||
volumes:
|
||||
- seedbox_config:/config
|
||||
- seedbox_torrents:/torrents
|
||||
- config:/config
|
||||
- torrents:/torrents
|
||||
|
||||
syncthing:
|
||||
image: kelvinchen/seedbox:syncthing
|
||||
restart: always
|
||||
net: seedbox
|
||||
networks:
|
||||
- main
|
||||
ports:
|
||||
- "22000:22000"
|
||||
- "21027:21027/udp"
|
||||
volumes:
|
||||
- seedbox_config:/config
|
||||
- seedbox_torrents:/torrents
|
||||
- config:/config
|
||||
- torrents:/torrents
|
||||
|
||||
openvpn:
|
||||
image: kelvinchen/seedbox:openvpn
|
||||
restart: always
|
||||
net: seedbox
|
||||
networks:
|
||||
- main
|
||||
ports:
|
||||
- "1194:1194/udp"
|
||||
volumes:
|
||||
- seedbox_config:/config
|
||||
- seedbox_torrents:/torrents
|
||||
- config:/config
|
||||
- torrents:/torrents
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
|
|
Loading…
Reference in New Issue