services: api: build: context: . dockerfile: Dockerfile container_name: cryptowallet-api restart: unless-stopped ports: - "3001:3001" env_file: - .env environment: API_PORT: "3001" healthcheck: test: ["CMD", "wget", "-qO-", "http://localhost:3001/api/health"] interval: 10s timeout: 5s retries: 5 start_period: 15s logging: driver: json-file options: max-size: "20m" max-file: "5"