appstore-1panel/apps/postgresql/versions/15.2-alpine/docker-compose.yml
2023-03-30 14:26:29 +08:00

22 lines
459 B
YAML

version: '3'
services:
postgres:
container_name: ${CONTAINER_NAME}
image: postgres:15.2-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
networks:
- 1panel-network
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true