mirror of
https://git.rwth-aachen.de/acs/public/villas/web-backend-go/
synced 2025-03-30 00:00:12 +01:00
Docker: create db villasdb
This commit is contained in:
parent
8e872feb6a
commit
6fa646b9dd
1 changed files with 1 additions and 0 deletions
|
@ -35,6 +35,7 @@ USER postgres
|
|||
RUN /etc/init.d/postgresql start &&\
|
||||
psql --command "CREATE USER villasuser WITH SUPERUSER PASSWORD 'villasuser';" &&\
|
||||
createdb -O villasuser testvillasdb
|
||||
createdb -O villasuser villasdb
|
||||
|
||||
# Add ``listen_addresses`` to ``/etc/postgresql/11/main/postgresql.conf``
|
||||
RUN echo "listen_addresses='*'" >> /etc/postgresql/11/main/postgresql.conf
|
||||
|
|
Loading…
Add table
Reference in a new issue