Commit Graph

33 Commits

Author SHA1 Message Date
Maximilian Dorninger
d5994a9037 Fix docker permission issues (#395)
This PR fixes docker permission issues by first starting as root and
then chown-ing all the volumes. This should fix #388 #389
2026-02-03 13:06:18 +01:00
maxid
cf7de07120 fix Dockerfile: ensure recursive ownership for app directory 2025-12-28 11:47:28 +01:00
Qi
e405c9f8c2 fix: allow container to run as non-root user
- Create mediamanager user and group (UID/GID 1000)
- Set ownership of /app and /data to mediamanager
- Configure uv to use writable cache directory in home
- Set UV_LINK_MODE=copy for better compatibility
- Closes #96
2025-12-23 22:55:03 -08:00
Tyler Satre
106190d7ac Improve local dev experience 2025-10-31 12:19:23 -04:00
maxDorninger
702e89b8b5 update base uv docker image 2025-10-27 20:56:11 +01:00
maxDorninger
0cae36dcac replace mime-types with media-types and mailcap in the main Dockerfile 2025-10-27 20:29:17 +01:00
maxDorninger
c367e3d898 update dockerfile to remove hardcoded /api/v1 prefix in api urls 2025-08-30 23:09:01 +02:00
maxDorninger
558d18163c add libtorrent as dependency 2025-07-27 13:41:15 +02:00
maxDorninger
1fca7b083a fix duplicate apscheduler jobs and add postgres to docker image 2025-07-23 00:02:23 +02:00
maxDorninger
e5a69d521b rename startup script and make the mediamanager logo look cooler on startup 2025-07-22 22:04:25 +02:00
maxDorninger
d8b0ee0001 remove image_dir env variable from docker container 2025-07-19 17:13:17 +02:00
maxDorninger
56db3cc008 remove tv,movie, image and torrent env vars from container and move them to the config file 2025-07-18 14:32:21 +02:00
Maximilian Dorninger
eb971bb601 Update Dockerfile
Include env vars that set default directories for media and images
2025-07-18 13:50:38 +02:00
wjbeckett
df7d00ad99 feat: improve container setup and fix deployment issues
- Move images directory from /data/images to /app/images to separate app data from user media
- Implement config folder approach instead of direct file mounting
- Add automatic config initialization with example config on first boot
- Remove hardcoded media directory environment variables from Dockerfile
- Update startup script to handle config folder setup and validation
- Only create application-managed directories, not user media directories
- Update docker-compose.yaml to use config folder volume mapping

Fixes container startup failures when config.toml doesn't exist and improves
separation between application data and user media directories.
2025-07-18 12:54:08 +10:00
maxDorninger
d0c6f36df9 update dockerfile 2025-07-17 18:26:22 +02:00
maxDorninger
ea7556de39 combine Dockerfiles of backend and frontend 2025-07-17 16:56:10 +02:00
maxDorninger
81c8381a90 adjust backend to serve static frontend files 2025-07-17 16:04:57 +02:00
maxDorninger
3b16f8b3c3 fix wrong env variable name in docker file 2025-07-11 19:22:25 +02:00
maxDorninger
dc981b7d21 hotfix: make delimiter 2 underscores instead of one for env variables 2025-07-11 18:58:58 +02:00
maxDorninger
e008a34fc7 update dockerfile to include archive extraction tools 2025-07-01 11:52:23 +02:00
maxDorninger
ad7d6aab60 add healthcheck 2025-06-30 20:48:50 +02:00
maxDorninger
690e4c2c1a fix missing mimetypes by adding mime-support package to backend docker image 2025-06-30 20:02:48 +02:00
maxDorninger
1abec67144 update dockerfiles 2025-06-30 18:49:24 +02:00
maxDorninger
4d67db6545 fix the docker files and startup scripts, also fix a bug in the hello world route of the backend 2025-06-30 17:17:21 +02:00
maxDorninger
17272207cf update backend docker file 2025-06-30 15:08:42 +02:00
maxDorninger
f837a75c73 add version to api, add hello world route to api and optimize the backend's dockerfile 2025-06-30 14:12:24 +02:00
maxDorninger
7923f0ee10 fix startup command for backend docker container 2025-06-29 20:55:57 +02:00
maxDorninger
d63825a684 fix bugs preventing the successful build of the arm frontend and backend images 2025-06-29 16:54:12 +02:00
maxDorninger
69d6fa7c15 add automatic alembic migrations to docker images 2025-06-01 22:45:16 +02:00
maxDorninger
b5d7d04ab3 fix tvdb ssl cert being invalid 2025-05-31 14:55:45 +02:00
maxDorninger
d2034d605e refactor: switch OAuth2 to OpenID and update related configurations 2025-05-30 18:41:06 +02:00
maxDorninger
6150080ac7 refactor: update API URL handling for client and server environments 2025-05-30 12:14:24 +02:00
maxDorninger
71cbed8a6f working on making things work with docker 2025-05-29 23:57:26 +02:00