You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Add and change the following environment variables for Orborus in the docker-compose.yml file. `BASE_URL` is the external URL of the server you're running Shuffle on (the one you visit Shuffle with in your browser):
257
257
```
258
258
# Required:
259
-
## Free since Shuffle 2.0.0-beta
260
-
- SHUFFLE_SWARM_CONFIG=run
261
-
262
-
## Ensures apps are not halting due to memory overloads
263
-
- SHUFFLE_LOGS_DISABLED=true
264
-
265
-
## Your Shuffle URL NEEDS to be replaced by the backend's public IP. Otherwise Docker DNS: https://dockerlabs.collabnix.com/intermediate/networking/Configuring_DNS.html
- SHUFFLE_AUTO_IMAGE_DOWNLOAD=false # This should be set to false IF images are already downloaded
266
+
- SHUFFLE_WORKER_SERVER_URL=http://shuffle-workers # Internal Docker Worker URL (don't modify if not necessary)
267
+
- SHUFFLE_SWARM_NETWORK_NAME=shuffle_swarm_executions # If you want a special network name in the executions
268
+
- SHUFFLE_SCALE_REPLICAS=1 # The amount of worker container replicas PER NODE (since 1.2.0)
269
+
- SHUFFLE_APP_REPLICAS=1 # The amount of app container replicas PER NODE (since 1.2.1)
270
+
- SHUFFLE_MAX_SWARM_NODES=1 # The max amount of swarm nodes shuffle can use (since 1.3.2)
271
+
- SHUFFLE_SKIPSSL_VERIFY=true # Stops Shuffle's internal services from validating TLS/SSL certificates. Good to use if BASE_URL is a domain.
279
272
280
273
```
281
274
@@ -1354,4 +1347,4 @@ sudo podman-compose -f docker-compose.yml up
1354
1347
1355
1348
### Marketplace Setup
1356
1349
1357
-
Using cloud marketplaces ([AWS Marketplace](https://aws.amazon.com/marketplace/), [Google Cloud Marketplace](https://console.cloud.google.com/marketplace), [Azure Marketplace](https://azuremarketplace.microsoft.com/)), you should be able to deploy Shuffle onprem with a few clicks. This is a great way to get started with Shuffle, as it's a fully managed service and test it out in your own environment without worrying about the setup. We are working with our cloud partners to get this up and running as soon as possible.
1350
+
Using cloud marketplaces ([AWS Marketplace](https://aws.amazon.com/marketplace/), [Google Cloud Marketplace](https://console.cloud.google.com/marketplace), [Azure Marketplace](https://azuremarketplace.microsoft.com/)), you should be able to deploy Shuffle onprem with a few clicks. This is a great way to get started with Shuffle, as it's a fully managed service and test it out in your own environment without worrying about the setup. We are working with our cloud partners to get this up and running as soon as possible.
Copy file name to clipboardExpand all lines: docs/liquid.md
+14-2Lines changed: 14 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -61,15 +61,27 @@ By adding 86400 seconds to the string "now", before adding a date format, we get
61
61
### Create an epoch Unix timestamp
62
62
By using the string "now", and changing the date format to seconds, it will give you the epoch timestamp.
63
63
64
+
64
65
**Expression:**
65
66
```
66
67
{{ "now" | date: "%s" }}
67
68
```
68
69
69
70
**Result:**
70
-
...
71
+
```
71
72
1643912690
72
-
...
73
+
```
74
+
75
+
Example 2: Calculate a Time Range Using Epoch Timestamps:
76
+
You can use epoch timestamps to calculate a time range. For instance, you can use mathematical operations like subtraction or addition to find timestamps for a specific range (e.g., 10 days).
0 commit comments