appstore-1panel/apps/postgresql/15.3-alpine/docker-compose.yml

21 lines
458 B
YAML
Raw Normal View History

version: '3'
services:
postgres:
container_name: ${CONTAINER_NAME}
image: postgres:15.3-alpine
restart: always
environment:
2023-02-22 18:04:02 +08:00
- POSTGRES_USER=${PANEL_DB_ROOT_USER}
- POSTGRES_PASSWORD=${PANEL_DB_ROOT_PASSWORD}
ports:
- ${PANEL_APP_PORT_HTTP}:5432
volumes:
- ./data:/var/lib/postgresql/data
networks:
- 1panel-network
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true