Update to 2021-02-12 13:00

master
Daniel Berteaud 4 years ago
parent 370451fbe7
commit e1edef4ddc
  1. 10
      roles/appsmith/tasks/install.yml
  2. 11
      roles/appsmith/templates/appsmith-server.service.j2
  3. BIN
      roles/lemonldap_ng/files/logos/appsmith.png
  4. 15
      roles/maven/templates/maven.xml.j2
  5. 3
      roles/squid/files/acl/software_various.domains

@ -106,13 +106,9 @@
args:
chdir: "{{ appsmith_root_dir }}/src/app/client"
# - name: Move the client to its final dir
# synchronize:
# src: "{{ appsmith_root_dir }}/src/app/client/build/"
# dest: "{{ appsmith_root_dir }}/client/"
# compress: False
# delete: True
# delegate_to: "{{ inventory_hostname }}"
# Note : the client will be deployed in {{ appsmith_root_dir }}/client
# with a ExecStartPre hook of the server, which will take care of replacing
# placeholders with current settings. So no need to do it here
become_user: "{{ appsmith_user }}"
tags: appsmith

@ -10,7 +10,16 @@ EnvironmentFile={{ appsmith_root_dir }}/etc/env
WorkingDirectory={{ appsmith_root_dir }}/server
PermissionsStartOnly=yes
ExecStartPre={{ appsmith_root_dir }}/bin/pre-start
ExecStart=/bin/java -Djava.net.preferIPv4Stack=true -Dserver.port={{ appsmith_server_port }} -Djava.security.egd="file:/dev/./urandom" -jar server-1.0-SNAPSHOT.jar
ExecStart=/bin/java -Djava.net.preferIPv4Stack=true \
-Dserver.port={{ appsmith_server_port }} \
-Djava.security.egd="file:/dev/./urandom" \
{% if system_proxy is defined and system_proxy != '' %}
-Dhttp.proxyHost={{ system_proxy | urlsplit('hostname') }} \
-Dhttp.proxyPort={{ system_proxy | urlsplit('port') }} \
-Dhttps.proxyHost={{ system_proxy | urlsplit('hostname') }} \
-Dhttps.proxyPort={{ system_proxy | urlsplit('port') }} \
{% endif %}
-jar server-1.0-SNAPSHOT.jar
PrivateTmp=yes
ProtectSystem=full
ProtectHome=yes

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

@ -0,0 +1,15 @@
<settings>
{% if system_proxy is defined and system_proxy != '' %}
<proxies>
<proxy>
<active>true</active>
<protocol>http</protocol>
<host>{{ system_proxy | urlsplit('hostname') }}</host>
<port>{{ system_proxy | urlsplit('port') }}</port>
{% if system_proxy_no_proxy is defined and system_proxy_no_proxy | length > 0 %}
<nonProxyHosts>{{ system_proxy_no_proxy | join('|') }}</nonProxyHosts>
{% endif %}
</proxy>
</proxies>
{% endif %}
</settings>

@ -151,6 +151,7 @@ miroir.univ-lorraine.fr
download.java.net
forumarchivebuilder.googlecode.com
maven.java.net
redshift-maven-repository.s3-website-us-east-1.amazonaws.com
# Unifi
www.ubnt.com
@ -208,6 +209,8 @@ graylog2-releases.s3.eu-west-1.amazonaws.com
# NPM / NodeJS
registry.npmjs.org
registry.npmjs.com
# Yarn
registry.yarnpkg.com
# Asterisk / FreePBX
ast.tucny.com

Loading…
Cancel
Save