Some fixes
This commit is contained in:
parent
c2e698cc9d
commit
04461a34ff
@ -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;
|
@ -1 +1 @@
|
||||
Subproject commit a84b68c1fd3428a08935999665fae1a17c479229
|
||||
Subproject commit 236f74ce2b223a39bc3794cb97c7d4ebf736fef7
|
Loading…
Reference in New Issue
Block a user