Open fgjfjfjfteyerifhfj opened 1 month ago
在运行docker run --name fastapi-admin -d -p 8080:8080 --network host --restart=always -v /etc/localtime:/etc/localtime:ro -v /data/fastapi-admin/manifest/config/config.yaml:/app/manifest/config/config.yaml -v /data/fastapi-admin/resource/public:/app/resource/public registry.cn-hangzhou.aliyuncs.com/iimeta/fastapi-admin:latest 后出现WARNING: Published ports are discarded when using host network mode 然后容器也没有启动,请问大佬这是什么原因呢?
警告没关系, 看配置文件/data/fastapi-admin/manifest/config/config.yaml里的Redis和MongoDB参数配置是否正确
请问该怎么填呢?
看不懂
请问该怎么填呢? 看不懂
![]()
建议看一下readme里的部署视频,里面有教怎么配置这些
在运行docker run --name fastapi-admin -d -p 8080:8080 \ --network host \ --restart=always \ -v /etc/localtime:/etc/localtime:ro \ -v /data/fastapi-admin/manifest/config/config.yaml:/app/manifest/config/config.yaml \ -v /data/fastapi-admin/resource/public:/app/resource/public \ registry.cn-hangzhou.aliyuncs.com/iimeta/fastapi-admin:latest 后出现WARNING: Published ports are discarded when using host network mode 然后容器也没有启动,请问大佬这是什么原因呢?