Created
April 24, 2024 01:28
-
-
Save rahuldhole/76896d91568c8e86c486c1df7ec0ce5f to your computer and use it in GitHub Desktop.
Nextcloud for production along with torrent downloader.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
app: | |
image: nextcloud | |
container_name: nextcloud | |
restart: unless-stopped | |
ports: | |
- "80:80" | |
volumes: | |
- ./html:/var/www/html | |
- ./custom_apps:/var/www/html/custom_apps | |
- ./config:/var/www/html/config | |
- ./data:/var/www/html/data | |
environment: | |
- TZ=Europe/Paris | |
- POSTGRES_DB=nextcloud | |
- POSTGRES_USER=nextcloud | |
- POSTGRES_PASSWORD=your_postgres_password | |
- POSTGRES_HOST=db | |
- TRUSTED_DOMAINS=nextcloud.example.com www.nextcloud.example.com | |
networks: | |
- babunet | |
depends_on: | |
- db | |
db: | |
image: postgres | |
container_name: db | |
restart: unless-stopped | |
volumes: | |
- ./db:/var/lib/postgresql/data | |
environment: | |
- TZ=Europe/Paris | |
- POSTGRES_DB=nextcloud | |
- POSTGRES_USER=nextcloud | |
- POSTGRES_PASSWORD=your_postgres_password | |
networks: | |
- babunet | |
qbittorrent: | |
image: lscr.io/linuxserver/qbittorrent:latest | |
container_name: qbittorrent | |
networks: | |
- babunet | |
ports: | |
- 8077:8077 | |
environment: | |
- PUID=1000 | |
- PGID=1000 | |
- TZ=Europe/Paris | |
- WEBUI_PORT=8077 | |
volumes: | |
- ./qbittorrent-config:/config | |
- /mnt/default/Torrent:/default # later goto Web GUI > setting > change /download to /default or /rahul | |
- /mnt/nas/Downloads/Torrent:/rahul | |
restart: unless-stopped | |
networks: | |
babunet: | |
volumes: | |
app: | |
db: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment