Fix Docker Compose relative directory problem (#60)

- Fix Docker Compose relative directory problem
- Added CONFIGDIR environment variable for docker compose
- Correct Pulsar URL defaults for graph utils to be localhost again
This commit is contained in:
cybermaggedon 2024-09-09 22:03:10 +01:00 committed by GitHub
parent 0ae6feddb0
commit 054ea6c76a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
20 changed files with 81 additions and 75 deletions

View file

@ -78,7 +78,7 @@
(if std.length(container.volumes) > 0 then
{
volumes: [
"%s:%s" % [vol.volume.name, vol.mount]
"%s:%s" % [vol.volume.volid, vol.mount]
for vol in container.volumes
]
}
@ -126,6 +126,8 @@
name: name,
volid:: name,
with_size:: function(size) self + { size: size },
add:: function() {
@ -143,6 +145,8 @@
name: dir,
volid:: "${CONFIGDIR}/" + dir,
with_size:: function(size) self + { size: size },
add:: function() {
@ -157,6 +161,8 @@
name: dir,
volid:: "${CONFIGDIR}/" + dir,
with_size:: function(size) self + { size: size },
add:: function() {