From 0da2ed7bd1cd7be76b6803a0c638036614a8f7b9 Mon Sep 17 00:00:00 2001 From: Malfurious Date: Mon, 30 Oct 2023 14:11:00 -0400 Subject: Merge data volumes I need something more complicated than just 1 new directory for logs, so let's go to the trouble now of merging the persistent volumes together and use subdirectories/files. The default location is now '/data'. To aid similar changes in the future, the locations of these persistent files are no longer hard-coded in the source, but defined by global shell variables. Additionally, a bug is fixed which impacted our ability to accurately clean old logs and calculate the next job number. Signed-off-by: Malfurious --- docker-compose.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'docker-compose.yml') diff --git a/docker-compose.yml b/docker-compose.yml index 111535f..ea05646 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -5,12 +5,9 @@ services: build: "acid" restart: "always" volumes: - - "logs:/logs" - - "services:/services" + - "data:/data" - "/var/run/docker.sock:/var/run/docker.sock:ro" volumes: - logs: - name: "cychedelic-logs" - services: - name: "cychedelic-services" + data: + name: "cychedelic_data" -- cgit v1.2.3