Fixtures for brew in postgres
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
FROM postgres:latest
|
||||
MAINTAINER tanshu
|
||||
|
||||
COPY user.sql /docker-entrypoint-initdb.d/
|
||||
COPY brew.sql /docker-entrypoint-initdb.d/
|
||||
@@ -0,0 +1,2 @@
|
||||
CREATE DATABASE brew;
|
||||
GRANT ALL PRIVILEGES ON DATABASE brew TO brew;
|
||||
@@ -0,0 +1 @@
|
||||
CREATE USER brew WITH PASSWORD '123456';
|
||||
Reference in New Issue
Block a user