Skip to content

Commit

Permalink
fix issue with pg_ctl not starting
Browse files Browse the repository at this point in the history
  • Loading branch information
pcaskey committed Dec 6, 2024
1 parent 156bb76 commit e8152a0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Workbench/grouper_data/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ COPY container_files/sql/createDBforMP.sql /
RUN chown -R postgres:postgres /var/lib/pgsql/
RUN echo "password" > /db-user-pwd.txt
RUN sudo -u postgres initdb -D /var/lib/pgsql/data/ --username=postgres --pwfile=/db-user-pwd.txt
RUN mkdir /var/run/postgresql && chown postgres:postgres /var/run/postgresql

#create grouper DB
RUN sudo -u postgres pg_ctl start -D /var/lib/pgsql/data/ \
Expand Down

0 comments on commit e8152a0

Please sign in to comment.