appstore-1panel/dockge/postgresql_16_6/docker-compose.yml
QYG2297248353 275d5be658
Some checks are pending
Process Apps and Commit Changes / process (push) Waiting to run
Processed apps directory via GitHub Actions
2024-11-28 09:57:19 +00:00

25 lines
581 B
YAML

networks:
1panel-network:
external: true
services:
postgresql:
container_name: 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: postgres:16.6
labels:
createdBy: Apps
networks:
- 1panel-network
ports:
- ${PANEL_APP_PORT_HTTP}:5432
restart: always
volumes:
- ${POSTGRES_ROOT_PATH}/data:/var/lib/postgresql/data