chore(docker): add Dockerfile for fradrive-db (psql)
This commit is contained in:
parent
f15d635a1e
commit
e5f1827199
12
docker/fradrive-db/Dockerfile
Normal file
12
docker/fradrive-db/Dockerfile
Normal 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
|
||||
Reference in New Issue
Block a user