12 lines
310 B
Docker
12 lines
310 B
Docker
FROM postgres:12
|
|
|
|
# allow for connecting to database without password authentication
|
|
ENV POSTGRES_HOST_AUTH_METHOD trust
|
|
|
|
# TODO: use socket mechanism from develop
|
|
ENV POSTGRES_SOCK_DIR TODO
|
|
|
|
# TODO: create uniworx db schema
|
|
ENV POSTGRES_SCHEMA TODO
|
|
|
|
RUN psql -h $POSTGRES_SOCK_DIR -f $POSTGRES_SCHEMA postgres |