File size: 535 Bytes
02c13f1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
version: '3.8'

services:
  calendar-agent:
    build: .
    ports:
      # Map container's 8501 port to host's 8501 port
      - "8501:8501"
    volumes:
      - ./credentials:/app/credentials
    environment:
      - TZ=Asia/Kolkata
    # Add a healthcheck to verify the service is running
    healthcheck:
      test: ["CMD", "curl", "-f", "http://localhost:8501"]
      interval: 30s
      timeout: 10s
      retries: 3
    # Add clear container name for easier reference
    container_name: calendar-assistant