Files
office365manage/docker-compose.yml
2026-03-21 21:18:51 +08:00

29 lines
587 B
YAML

services:
office365manage:
container_name: office365manage
build:
context: .
dockerfile: Dockerfile
env_file:
- .env
environment:
HOST: 0.0.0.0
PORT: 8000
ports:
- "8000:8000"
volumes:
- ./logs:/app/logs
restart: unless-stopped
healthcheck:
test:
[
"CMD",
"python",
"-c",
"import urllib.request; urllib.request.urlopen('http://127.0.0.1:8000/api/health', timeout=5)"
]
interval: 30s
timeout: 10s
retries: 3
start_period: 20s