ervu-secret/config/Dockerfile.secdb
2024-07-18 18:01:54 +03:00

5 lines
184 B
Text

FROM postgres:11-alpine
COPY secdb.sql .
CMD psql "postgresql://${DB_SEC_USERNAME:-security}:${DB_SEC_PASSWORD:-secpassword}@${DB_SEC_HOST:-db}/${DB_SEC_NAME:-security}" < secdb.sql