Fixing postgresql’s UNIX sockets directory.

This commit is contained in:
Luka Vandervelden 2019-11-09 13:27:27 +01:00
parent c2730bdd71
commit 32dd294c1b

View File

@ -24,5 +24,5 @@ ports: postgresql
name: sockets directory
unless-directory: /tmp/${SERVICE_NAME}-${ENVIRONMENT}
# FIXME: impose permissions
command: mkdir -p /tmp/${SERVICE_NAME}-${ENVIRONMENT} && chown postgres:postgres /tmp/${SERVICE_NAME}-${ENVIRONMENT}
creation-command: mkdir -p /tmp/${SERVICE_NAME}-${ENVIRONMENT} && chown postgres:postgres /tmp/${SERVICE_NAME}-${ENVIRONMENT}
# FIXME: add postgresql-pre-start-db-dir around here