Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
services:
postgres:
container_name: ${CONTAINER_NAME}
image: postgres:12.21-alpine
image: postgres:12.22-alpine
restart: always
environment:
- POSTGRES_USER=${PANEL_DB_ROOT_USER}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个代码主要是在使用PostgreSQL数据库配置。对于这个问题,请参阅以下修正:
@@ -28,6 +28,8 @@
$MYSQL_USER,
MYSQL_ROOT_PASSWORD)

     # PostgreSQL configuration with docker-compose
     IMAGE=postgres:12.22-alpine-slim
     VOLUME=/var/lib/postgresql/data

 ports:

  volumes:
    {{- range .Volumes }}

       - "{{item.Path}}": "{!name}{{ end }}"

      {{- if not .Mount }}
        mount_from:
          env_output_file:
            host_path: "{{item.HostPath}}"
  {{- else}}
    bindmount:

     port_maps:
       - "https://localhost:{!service_port}"
       - "http://localhost:{!port}"

@EnD -1,7

Expand Down