研究了一下我发现极空间是ZFS但是postgresql不支持ZFS路径所以需要新建一个卷来解决
postgresql: image: postgres restart: always environment: POSTGRES_DB: moviepilot POSTGRES_USER: moviepilot POSTGRES_PASSWORD: pg_password volumes: - postgres_data:/var/lib/postgresql/data healthcheck: test: ["CMD-SHELL", "pg_isready -U moviepilot -d moviepilot"] interval: 10s timeout: 5s retries: 5volumes: postgres_data: driver: local driver_opts: type: none o: bind device: 路径
评论 (0)