services: web: build: context: . dockerfile: Dockerfile container_name: openclaw-archive env_file: - .env ports: - "${DJANGO_PORT:-6789}:${DJANGO_PORT:-8000}" volumes: - static_volume:/app/staticfiles - jsonl_archive:/app/archive restart: unless-stopped # nginx placeholder (uncomment for production) # nginx: # image: nginx:alpine # container_name: openclaw-nginx # ports: # - "80:80" # volumes: # - ./nginx/nginx.conf:/etc/nginx/nginx.conf # - static_volume:/app/staticfiles:ro # depends_on: # - web volumes: static_volume: jsonl_archive: