100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps
Java asset-managementbuildingdashboarddataplatformdevice-managementedge-computingenergyenergy-managementenergy-monitorfleet-managementfleet-telematicsiotiot-applicationiot-platformmodbusmqttmqtt-brokerota-updaterules-enginesmartcity
Log files don't scale and shouldn't be used in the swarm mode
Michal Rutka3df9d0c09d5b
diff --git a/docker-compose-swarm.yml b/docker-compose-swarm.ymlindex f8b5757df..8df4deb43 100644--- a/docker-compose-swarm.yml+++ b/docker-compose-swarm.yml@@ -10,7 +10,7 @@# dosker swarm init# docker pull openremote/deployment# docker-compose -p demo up -d --no-build deployment-# docker deploy --compose-file docker-compose-swarm.yml demo+# docker stack deploy --compose-file docker-compose-swarm.yml demo## Stop the stack:#@@ -65,9 +65,6 @@ services:# Bearer tokens are only valid for minutes, and authentication fails if Keycloak drifts.TZ: Europe/Amsterdam- # File to which std out will be logged- LOGFILE: /var/log/proxy.log-# The public host name of this OpenRemote installation. Set this to request/manage an SSL# certificate with the free https://letsencrypt.org/ provider. The default 'localhost' will# rely on a baked-in self-signed certificate. If you change this, adjust manager#IDENTITY_NETWORK_HOST.@@ -106,11 +103,6 @@ services:- "80:80"- "443:443"- # Configure logging of the container- logging:- options:- max-size: 10m-volumes:- proxy-data:/deployment# Override the haproxy.cfg with custom file@@ -212,10 +204,6 @@ services:-XX:NativeMemoryTracking=summary-XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/javadump.core.hprof'- # Configure logging of the container, see deployment/logging.properties- logging:- options:- max-size: 10mvolumes:- deployment-data:/deployment@@ -262,10 +250,6 @@ services:-XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/javadump.core.hprof-Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true'- # Configure logging of the container- logging:- options:- max-size: 10mports:- "8081:8080"@@ -298,9 +282,5 @@ services:# You can open an SQL console on a running container with:# docker exec -it <container ID> psql -U openremote- # Configure logging of the container- logging:- options:- max-size: 10mvolumes:- postgresql-data:/deployment