Skip to content

Commit

Permalink
sudo su postgres -c "PATH='${PATH}' PGDATA='${PGDATA}' pg_ctl restart"
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyBanks committed Mar 7, 2021
1 parent 078cf04 commit f19221a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .devcontainer/Dockerfile
Expand Up @@ -25,6 +25,8 @@ ENV PGDATA="/usr/local/pgsql/data"

RUN initdb && \
pg_ctl start && \
createuser -s vscode
createuser -s codespace && \
createdb codespace && \
pg_ctl stop

USER codespace

0 comments on commit f19221a

Please sign in to comment.