diff --git a/.env.sample b/.env.sample index 6425c41..4918354 100644 --- a/.env.sample +++ b/.env.sample @@ -3,6 +3,8 @@ ACME_MAIL=my-email@my-provider.com HTTP_USER=myuser HTTP_PASSWORD=mypassword_encoded PORTAINER_ADMIN_PASSWORD=h4ckMePleAse +FLOODSECRET=h4ckMePleAse + # Filerun MYSQL_ROOT_PASSWORD=your_mysql_root_password diff --git a/docker-compose.yml b/docker-compose.yml index a870f02..861b512 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -199,17 +199,21 @@ services: - 'traefik.enable=true' flood: - image: linuxserver/flood + image: wonderfall/rtorrent-flood restart: always + tty: true networks: - web volumes: - - configflood:/config + - configflood:/data + - flooddb:/flood-db - torrents:/torrents environment: - - PGID=0 - - PUID=0 + - GID=0 + - UID=0 + - FLOOD_SECRET=${FLOODSECRET} - TZ=Europe/Paris + - RTORRENT_SCGI=11679 labels: - 'traefik.backend=flood' - 'traefik.port=3000' @@ -285,6 +289,10 @@ volumes: driver: local-persist driver_opts: mountpoint: /data/config/flood + flooddb: + driver: local-persist + driver_opts: + mountpoint: /data/config/flood/flood-db torrents: driver: local-persist driver_opts: