didier/docker-compose.yml

17 lines
416 B
YAML
Raw Permalink Normal View History

version: '3.9'
services:
2022-07-25 19:07:57 +02:00
postgres:
image: postgres:14
container_name: didier
restart: always
environment:
2022-07-25 19:07:57 +02:00
- POSTGRES_DB=${POSTGRES_DB:-didier_dev}
- POSTGRES_USER=${POSTGRES_USER:-postgres}
- POSTGRES_PASSWORD=${POSTGRES_PASS:-postgres}
ports:
2022-07-25 19:07:57 +02:00
- "${POSTGRES_PORT:-5432}:${POSTGRES_PORT:-5432}"
volumes:
2022-07-25 19:07:57 +02:00
- postgres:/var/lib/postgresql/data
volumes:
2022-07-25 19:07:57 +02:00
postgres: