version: '3.8' services: memory: image: memory-server:latest # build: ./server container_name: memory-server restart: unless-stopped ports: - "6600:8080" volumes: - ./data:/app/data environment: - SERVER_ADDR=:8080 - DB_PATH=/app/data/memory.db - JWT_SECRET=${JWT_SECRET:-change-me-in-production} - BASE_URL=${BASE_URL:-http://localhost:8080} - LOCAL_UPLOAD_PATH= - R2_ACCOUNT_ID=${R2_ACCOUNT_ID} - R2_ACCESS_KEY_ID=${R2_ACCESS_KEY_ID} - R2_ACCESS_KEY_SECRET=${R2_ACCESS_KEY_SECRET} - R2_BUCKET_NAME=${R2_BUCKET_NAME:-memory} - R2_PUBLIC_URL=${R2_PUBLIC_URL}