Some fixes
This commit is contained in:
@@ -17,6 +17,7 @@ WORKDIR /opt/re3gistry
|
||||
RUN sh ./init-config.sh \
|
||||
&& cp -R app/* /opt/tomcat/webapps/ \
|
||||
&& cp -R webapp/public_html/* /var/www/localhost/htdocs/ \
|
||||
&& chmod +x start.sh
|
||||
&& chmod +x start.sh \
|
||||
&& touch /opt/tomcat/webapps/re3gistry2/WEB-INF/classes/configurations_files/system.installed
|
||||
|
||||
ENTRYPOINT [ "/opt/re3gistry/start.sh" ]
|
||||
|
18
createdatabase.sql
Normal file
18
createdatabase.sql
Normal file
@@ -0,0 +1,18 @@
|
||||
CREATE DATABASE re3gistry
|
||||
WITH
|
||||
OWNER = farmmaps
|
||||
ENCODING = 'UTF8'
|
||||
LC_COLLATE = 'en_US.utf8'
|
||||
LC_CTYPE = 'en_US.utf8'
|
||||
TABLESPACE = pg_default
|
||||
CONNECTION LIMIT = -1
|
||||
IS_TEMPLATE = False;
|
||||
|
||||
ALTER DATABASE re3gistry
|
||||
SET search_path TO data, public;
|
||||
|
||||
ALTER DEFAULT PRIVILEGES FOR ROLE postgres
|
||||
GRANT INSERT, SELECT, UPDATE, DELETE ON TABLES TO re3gistry;
|
||||
|
||||
ALTER DEFAULT PRIVILEGES FOR ROLE postgres
|
||||
GRANT SELECT, USAGE ON SEQUENCES TO re3gistry;
|
Submodule re3gistry updated: a84b68c1fd...236f74ce2b
Reference in New Issue
Block a user