mirror of
https://git.korhonen.cc/FunctionalHacker/dotfiles.git
synced 2024-11-06 15:20:23 +00:00
21 lines
397 B
YAML
21 lines
397 B
YAML
|
version: "3"
|
||
|
services:
|
||
|
postgres:
|
||
|
container_name: postgres
|
||
|
image: postgres:13
|
||
|
environment:
|
||
|
- TZ=Europe/Helsinki
|
||
|
- POSTGRES_PASSWORD=12345
|
||
|
ports:
|
||
|
- 5432:5432
|
||
|
networks:
|
||
|
- postgres
|
||
|
volumes:
|
||
|
- /docker/postgres:/var/lib/postgresql/data
|
||
|
- /etc/localtime:/etc/localtime:ro
|
||
|
restart: unless-stopped
|
||
|
|
||
|
networks:
|
||
|
postgres:
|
||
|
external: true
|