PKGBUILD/docker-compose.yml

18 lines
361 B
YAML
Raw Normal View History

2019-08-20 19:37:45 +00:00
version: '3'
services:
flucky-db:
environment:
- PGTZ=${TZ}
- POSTGRES_PASSWORD=${PG_PASSWORD}
- POSTGRES_USER=${PG_USER}
- POSTGRES_DB=${PG_NAME}
- TZ=${TZ}
image: postgres:11.5-alpine
ports:
- ${PG_EXTERN_PORT}:${PG_INTERN_PORT}/tcp
restart: always
volumes:
- /etc/localtime:/etc/localtime:ro