chore(docker): add Dockerfile for fradrive-db (psql)

This commit is contained in:
Sarah Vaupel 2024-08-11 03:05:35 +02:00
parent f15d635a1e
commit e5f1827199

View File

@ -0,0 +1,12 @@
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