feat: Enhance Docker setup and application status reporting with build date and container info

This commit is contained in:
Christian Krakau-Louis
2025-04-07 00:43:14 +02:00
parent c7ddf77cb2
commit d66fef7ad4
6 changed files with 109 additions and 36 deletions
+2 -3
View File
@@ -10,7 +10,7 @@ services:
working_dir: /workdir
# We'll run uvicorn from the container's /app code
command: ["sh", "-c", "cd /app && uvicorn app.main:app --host 0.0.0.0 --port 8000 --proxy-headers"]
command: ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000", "--proxy-headers"]
# Environment variables
environment:
@@ -50,7 +50,7 @@ services:
- redis
- gotenberg
# Mount the shared directory (and optionally your code if you want dev mode)
# Mount the shared directory
volumes:
- /var/docparse/workdir:/workdir
@@ -59,7 +59,6 @@ services:
container_name: gotenberg
restart: always
redis:
image: redis:alpine
container_name: document_redis