You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
version: "3.4"
|
|
services:
|
|
postgres:
|
|
container_name: ${POSTGRES_CONTAINER_NAME:-postgres}
|
|
image: postgres:${POSTGRES_VERSION:-latest}
|
|
restart: unless-stopped
|
|
ports:
|
|
- ${POSTGRES_HOST_IP_ADDRESS:-127.0.0.1}:${POSTGRES_HOST_PORT:-5432}:5432
|
|
volumes:
|
|
- pgdata:/var/lib/postgresql/data
|
|
environment:
|
|
POSTGRES_USER: ${POSTGRES_ADMIN_USER:-sysadmin}
|
|
POSTGRES_PASSWORD: ${POSTGRES_ADMIN_PASSWORD:-password}
|
|
|
|
volumes:
|
|
pgdata:
|