17 lines
537 B
YAML
17 lines
537 B
YAML
version: "3.7"
|
|
services:
|
|
isard-apps-postgresql:
|
|
image: ${POSTGRESQL_IMG-postgres:13.5-alpine3.15}
|
|
container_name: isard-apps-postgresql
|
|
restart: unless-stopped
|
|
env_file: .env
|
|
environment:
|
|
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
|
- POSTGRES_USER=${POSTGRES_USER}
|
|
volumes:
|
|
- /etc/localtime:/etc/localtime:ro
|
|
- ${DB_FOLDER}/postgres:/var/lib/postgresql/data
|
|
- ${BUILD_ROOT_PATH}/docker/postgresql/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
|
|
networks:
|
|
- isard_net
|