PKGBUILD/docker-compose.yml

17 lines
367 B
YAML
Raw Normal View History

2019-08-20 19:37:45 +00:00
version: '3'
services:
flucky-db:
container_name: postgres
2019-08-20 19:37:45 +00:00
environment:
- PGTZ=${TZ}
- POSTGRES_DB=${POSTGRES_DB_NAME}
- POSTGRES_USER=${POSTGRES_DB_USER}
- POSTGRES_PASSWORD=${POSTGRES_DB_PASS}
- TZ=${TZ}
2019-08-20 19:37:45 +00:00
image: postgres:11.5-alpine
ports:
- 5432:5432
2019-08-20 19:37:45 +00:00
restart: always
volumes:
- /etc/localtime:/etc/localtime:ro