-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
35 lines (34 loc) · 1 KB
/
docker-compose.yml
File metadata and controls
35 lines (34 loc) · 1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
services:
hound-postgres:
container_name: hound-postgres
image: postgres:18
environment:
POSTGRES_DB: hound_db
POSTGRES_USER: hound
POSTGRES_PASSWORD: super-strong-password
volumes:
- ./Hound Data/postgres_data:/var/lib/postgresql
healthcheck:
test: ["CMD-SHELL", "pg_isready -U hound -d hound_db"]
interval: 5s
timeout: 5s
retries: 5
hound-server:
container_name: hound-server
image: houndmediaserver/hound:latest
depends_on:
hound-postgres:
condition: service_healthy
ports:
- "2323:2323"
environment:
- POSTGRES_DB=hound_db
- POSTGRES_USER=hound
- POSTGRES_PASSWORD=super-strong-password
- HOUND_SECRET=super-strong-secret
volumes:
- ./Hound Data:/app/Hound Data
# (Optional) attach your media library
# IMPORTANT: Please read the docs before doing this
# - /path/to/movies:/app/External Library/Movies
# - /path/to/shows:/app/External Library/TV Shows