Files
tide/docker-compose.dev.yml

46 lines
840 B
YAML

version: "3.8"
services:
api:
build:
context: ./api
dockerfile: Dockerfile.dev
ports:
- "7890:7890"
restart: on-failure
volumes:
- ./api:/app
env_file:
- .env
qbittorent:
image: qbittorrentofficial/qbittorrent-nox
ports:
- "6881:6881/tcp"
- "6881:6881/udp"
restart: on-failure
volumes:
- $DOWNLOAD_DIR:/downloads
environment:
- QBT_EULA=accept
- QBT_WEBUI_PORT=8080
- QBT_DOWNLOADS_PATH=/downloads
env_file:
- .env
postgres:
image: postgres:15
restart: on-failure
env_file:
- ./.env
volumes:
- db:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER} -d ${POSTGRES_DB}"]
interval: 5s
timeout: 5s
retries: 5
volumes:
db: