appstore-1panel/apps/postgresql/versions/15.2-alpine/docker-compose.yml
2023-02-22 18:04:02 +08:00

20 lines
423 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
networks:
1panel-network:
external: true