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
|
## Running
|
||||||
```sh
|
```sh
|
||||||
$ docker-compose pull
|
$ docker-compose pull
|
||||||
$ docker-compose --x-networking up -d
|
$ docker-compose up -d
|
||||||
```
|
```
|
||||||
Make sure you install the dependencies and finish configuration before doing
|
Make sure you install the dependencies and finish configuration before doing
|
||||||
this.
|
this.
|
||||||
|
@ -33,7 +33,7 @@ You may optionally build the images yourself instead of pulling by running
|
||||||
|
|
||||||
## Dependencies
|
## Dependencies
|
||||||
- [Docker](https://github.com/docker/docker)
|
- [Docker](https://github.com/docker/docker)
|
||||||
- [Docker Compose](https://github.com/docker/compose)
|
- [Docker Compose](https://github.com/docker/compose) >=v1.6.0
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
Copy the `config.default` file to `config` and change the variables as desired.
|
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:
|
frontend:
|
||||||
image: kelvinchen/seedbox:frontend
|
image: kelvinchen/seedbox:frontend
|
||||||
restart: always
|
restart: always
|
||||||
net: seedbox
|
networks:
|
||||||
|
- main
|
||||||
ports:
|
ports:
|
||||||
- "80:80"
|
- "80:80"
|
||||||
- "443:443"
|
- "443:443"
|
||||||
volumes:
|
volumes:
|
||||||
- seedbox_config:/config
|
- config:/config
|
||||||
env_file:
|
env_file:
|
||||||
- config
|
- config
|
||||||
|
|
||||||
rtorrent:
|
rtorrent:
|
||||||
image: kelvinchen/seedbox:rtorrent
|
image: kelvinchen/seedbox:rtorrent
|
||||||
restart: always
|
restart: always
|
||||||
net: seedbox
|
networks:
|
||||||
|
- main
|
||||||
ports:
|
ports:
|
||||||
- "49161:49161"
|
- "49161:49161"
|
||||||
- "49161:49161/udp"
|
- "49161:49161/udp"
|
||||||
- "6881:6881/udp"
|
- "6881:6881/udp"
|
||||||
volumes:
|
volumes:
|
||||||
- seedbox_config:/config
|
- config:/config
|
||||||
- seedbox_torrents:/torrents
|
- torrents:/torrents
|
||||||
|
|
||||||
plex:
|
plex:
|
||||||
image: kelvinchen/seedbox:plex
|
image: kelvinchen/seedbox:plex
|
||||||
restart: always
|
restart: always
|
||||||
net: seedbox
|
networks:
|
||||||
|
- main
|
||||||
ports:
|
ports:
|
||||||
- "32400:32400"
|
- "32400:32400"
|
||||||
volumes:
|
volumes:
|
||||||
- seedbox_config:/config
|
- config:/config
|
||||||
- seedbox_torrents:/torrents
|
- torrents:/torrents
|
||||||
|
|
||||||
sickrage:
|
sickrage:
|
||||||
image: kelvinchen/seedbox:sickrage
|
image: kelvinchen/seedbox:sickrage
|
||||||
restart: always
|
restart: always
|
||||||
net: seedbox
|
networks:
|
||||||
|
- main
|
||||||
volumes:
|
volumes:
|
||||||
- seedbox_config:/config
|
- config:/config
|
||||||
- seedbox_torrents:/torrents
|
- torrents:/torrents
|
||||||
|
|
||||||
syncthing:
|
syncthing:
|
||||||
image: kelvinchen/seedbox:syncthing
|
image: kelvinchen/seedbox:syncthing
|
||||||
restart: always
|
restart: always
|
||||||
net: seedbox
|
networks:
|
||||||
|
- main
|
||||||
ports:
|
ports:
|
||||||
- "22000:22000"
|
- "22000:22000"
|
||||||
- "21027:21027/udp"
|
- "21027:21027/udp"
|
||||||
volumes:
|
volumes:
|
||||||
- seedbox_config:/config
|
- config:/config
|
||||||
- seedbox_torrents:/torrents
|
- torrents:/torrents
|
||||||
|
|
||||||
openvpn:
|
openvpn:
|
||||||
image: kelvinchen/seedbox:openvpn
|
image: kelvinchen/seedbox:openvpn
|
||||||
restart: always
|
restart: always
|
||||||
net: seedbox
|
networks:
|
||||||
|
- main
|
||||||
ports:
|
ports:
|
||||||
- "1194:1194/udp"
|
- "1194:1194/udp"
|
||||||
volumes:
|
volumes:
|
||||||
- seedbox_config:/config
|
- config:/config
|
||||||
- seedbox_torrents:/torrents
|
- torrents:/torrents
|
||||||
cap_add:
|
cap_add:
|
||||||
- NET_ADMIN
|
- NET_ADMIN
|
||||||
|
|
Loading…
Reference in New Issue