mlab.0.1.8-RC1.source-code.postgres.mlab Maven / Gradle / Ivy
#!/usr/bin/env mlab
FLAG ver=latest Postgres version
FLAG port=5432 Exposed port
FLAG ip=default IP to be used for server
FLAG schema=$0 "SQL schema file to load" # hack to name a file that exists and would be ignored...
FROM postgres:$ver
ADD $schema /docker-entrypoint-initdb.d/
NETCON $ip
EXPOSE 5432 $port
BACKGROUND mlab detach -p :5432 -t 60s -e7
START << END
/docker-entrypoint.sh postgres
END
© 2015 - 2025 Weber Informatics LLC | Privacy Policy