ervu-secret/config/Dockerfile.secdb

6 lines
184 B
Text
Raw Normal View History

2024-07-18 18:01:54 +03:00
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