feat: add Docker deployment support

This commit is contained in:
Sam Chau
2026-01-19 20:23:10 +10:30
parent dd77d1af35
commit fd20cd84e8
10 changed files with 410 additions and 2 deletions

33
compose.dev.yml Normal file
View File

@@ -0,0 +1,33 @@
# Development compose - builds from source
# Usage: docker compose -f compose.dev.yml up --build
services:
profilarr:
build:
context: .
dockerfile: Dockerfile
container_name: profilarr-dev
ports:
- "6868:6868"
volumes:
- ./config:/config
environment:
- PUID=1000
- PGID=1000
- UMASK=022
- TZ=Etc/UTC
# - PORT=6868
# - HOST=0.0.0.0
- PARSER_HOST=parser
- PARSER_PORT=5000
depends_on:
parser:
condition: service_healthy
parser:
build:
context: .
dockerfile: Dockerfile.parser
container_name: profilarr-parser-dev
expose:
- "5000"