Update production.yml to include volumes for kestra-data, docker.sock, and kestra-wd

This commit is contained in:
2024-05-01 20:29:23 +08:00
parent 9ce2a7ce3f
commit d13e751c3b
+4 -4
View File
@@ -68,10 +68,6 @@ services:
# Note that this is meant for development only. Refer to the documentation for production deployments of Kestra which runs without a root user.
user: "1000:1000"
command: server standalone --worker-thread=128
volumes:
- ./kestra-data:/app/storage
- /var/run/docker.sock:/var/run/docker.sock
- /tmp/kestra-wd:/tmp/kestra-wd
environment:
KESTRA_CONFIGURATION: |
datasources:
@@ -98,6 +94,10 @@ services:
tmp-dir:
path: /tmp/kestra-wd/tmp
url: http://kestra.furyhawk.lol/
volumes:
- ./kestra-data:/app/storage
- /var/run/docker.sock:/var/run/docker.sock
- /tmp/kestra-wd:/tmp/kestra-wd
expose:
- "8080"
- "8081"