Files
hospitalapi/docker-compose.yml
Ben Melchior ba119629eb Refactor Docker setup and update API description
- Updated docker-compose.yml to use context and dockerfile for the app service, and removed unnecessary db service configuration.
- Modified Dockerfile to use the official Rust nightly image and streamlined the build process with updated working directories and runtime dependencies.
- Changed API description in root handler to reflect the correct endpoint for fetching the current hospital.
2025-05-03 21:59:23 +02:00

14 lines
245 B
YAML

version: '3.8'
services:
app:
build:
context: .
dockerfile: Dockerfile
ports:
- "3000:3000"
environment:
- HOST=${HOST}
- PORT=${PORT}
- DATABASE_URL=${DATABASE_URL}
restart: unless-stopped