fix: 优化镜像源,提升速度
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
# 基础镜像走国内 Docker Hub 代理(DaoCloud,稳定性较好;若失败可改为 docker.1ms.run/library)
|
||||
# Docker Hub 官方镜像:请在本机 Docker 中配置「阿里云镜像加速器」后再构建/拉取
|
||||
# (控制台:容器镜像服务 ACR → 镜像工具 → 镜像加速器,将地址写入 Docker Engine 的 registry-mirrors)
|
||||
services:
|
||||
db:
|
||||
image: docker.m.daocloud.io/library/postgres:16-alpine
|
||||
image: postgres:16-alpine
|
||||
container_name: exam-helper-db
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
|
||||
Reference in New Issue
Block a user