0fc4aa7c28
Add timezone for the columns creation_date and update_date, otherwise it's difficult to compare the times correctly in the unit test. Furthermore the default value of the creation_date will now be defined by the postgres implementation of the database interface.
15 lines
292 B
YAML
15 lines
292 B
YAML
version: '3'
|
|
services:
|
|
flucky-db:
|
|
container_name: postgres
|
|
environment:
|
|
- PGTZ=Europe/Berlin
|
|
- POSTGRES_PASSWORD=postgres
|
|
- TZ=Europe/Berlin
|
|
image: postgres:13-alpine
|
|
ports:
|
|
- 5432:5432
|
|
restart: always
|
|
volumes:
|
|
- /etc/localtime:/etc/localtime:ro
|