2022-06-11 01:15:05 +02:00
|
|
|
version: '3.9'
|
|
|
|
services:
|
2022-07-25 19:07:57 +02:00
|
|
|
postgres:
|
2022-06-11 01:15:05 +02:00
|
|
|
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}
|
2022-06-11 01:15:05 +02:00
|
|
|
ports:
|
2022-07-25 19:07:57 +02:00
|
|
|
- "${POSTGRES_PORT:-5432}:${POSTGRES_PORT:-5432}"
|
2022-06-11 01:15:05 +02:00
|
|
|
volumes:
|
2022-07-25 19:07:57 +02:00
|
|
|
- postgres:/var/lib/postgresql/data
|
2022-06-11 01:15:05 +02:00
|
|
|
volumes:
|
2022-07-25 19:07:57 +02:00
|
|
|
postgres:
|