Fixing postgresql’s UNIX sockets directory.

master
Luka Vandervelden 2019-11-09 13:27:27 +01:00
parent c2730bdd71
commit 32dd294c1b
1 changed files with 1 additions and 1 deletions

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