mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-12-15 17:42:22 +08:00
25 lines
615 B
YAML
25 lines
615 B
YAML
networks:
|
|
1panel-network:
|
|
external: true
|
|
services:
|
|
postgresql:
|
|
container_name: pg16-vectors-postgresql
|
|
env_file:
|
|
- ./envs/global.env
|
|
- .env
|
|
environment:
|
|
POSTGRES_DB: ${POSTGRES_DB:-postgres}
|
|
POSTGRES_INITDB_ARGS: --data-checksums
|
|
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
|
POSTGRES_USER: ${POSTGRES_USER:-postgres}
|
|
image: tensorchord/pgvecto-rs:pg16-v0.2.1
|
|
labels:
|
|
createdBy: Apps
|
|
networks:
|
|
- 1panel-network
|
|
ports:
|
|
- ${PANEL_APP_PORT_HTTP}:5432
|
|
restart: always
|
|
volumes:
|
|
- ${POSTGRES_ROOT_PATH}/data:/var/lib/postgresql/data
|