version: "3.8" services: message-gateway: build: context: . dockerfile: Dockerfile container_name: message-gateway ports: - "8000:8000" volumes: - ./app:/app/app - ./config:/app/config - ./templates:/app/templates env_file: - .env restart: unless-stopped healthcheck: test: ["CMD", "curl", "-f", "http://localhost:8000/api/v1/health"] interval: 30s timeout: 10s retries: 3 start_period: 40s networks: - message-gateway-network networks: message-gateway-network: driver: bridge