官方网址为https://run.claw.cloud/
请使用超过6个月的github账号登陆,可以享受每月$5的免费额度。
选择区域后,新建app,使用php:8.2-apache的docker镜像,并添加Configmaps
/etc/apache2/sites-available/000-default.conf

txt
复制
<VirtualHost *:80>
    # 服务器管理员邮箱(用于错误报告)
    ServerAdmin webmaster@localhost

    # 网站根目录(默认路径)
    DocumentRoot /data/www/html

    # 日志文件配置
    ErrorLog ${APACHE_LOG_DIR}/error.log
    CustomLog ${APACHE_LOG_DIR}/access.log combined

    # 默认目录权限配置
    <Directory /data/www/html>
        Options FollowSymLinks
        AllowOverride None
        Require all granted
    </Directory>

    # 其他可选配置
    # ServerName example.com  # 指定域名
    # Redirect / https://example.com/  # 重定向到 HTTPS
</VirtualHost>

添加Local Storage,位置挂载到/data
具体配置为:cpu 0.5core;1G Memory ;3G Storage,每天0.15$