mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-15 02:31:55 +08:00
047af3429b
* chore(deps): update postgres docker tag to v16.3 * Update app version [skip ci] --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: github-action update-app-version <githubaction@githubaction.com>
26 lines
645 B
YAML
26 lines
645 B
YAML
services:
|
|
postgres:
|
|
container_name: ${CONTAINER_NAME}
|
|
image: postgres:16.3-alpine
|
|
restart: always
|
|
environment:
|
|
- POSTGRES_USER=${PANEL_DB_ROOT_USER}
|
|
- POSTGRES_PASSWORD=${PANEL_DB_ROOT_PASSWORD}
|
|
ports:
|
|
- ${PANEL_APP_PORT_HTTP}:5432
|
|
volumes:
|
|
- ./data:/var/lib/postgresql/data
|
|
healthcheck:
|
|
test: ["CMD", "pg_isready", "-h", "127.0.0.1", "-p", "5432", "-q", "-U", "${PANEL_DB_ROOT_USER}"]
|
|
start_period: 20s
|
|
interval: 30s
|
|
retries: 5
|
|
timeout: 5s
|
|
networks:
|
|
- 1panel-network
|
|
labels:
|
|
createdBy: "Apps"
|
|
networks:
|
|
1panel-network:
|
|
external: true
|