From 5328537a3b5f6bb2d4fd36d75157c07e8fa1a0ab Mon Sep 17 00:00:00 2001 From: kimpure Date: Tue, 10 Feb 2026 10:11:01 +0000 Subject: [PATCH] Add cache volume mount --- docker-compose-example.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docker-compose-example.yml b/docker-compose-example.yml index 24cb397..ad364d6 100644 --- a/docker-compose-example.yml +++ b/docker-compose-example.yml @@ -18,6 +18,8 @@ services: GUILD_ID: "${GUILD_ID}" TYPECAST_TOKEN: "${TYPECAST_TOKEN}" DATABASE_URL: "postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@$discord-db:5432/${POSTGRES_DB}?schema=public" + volumes: + - ./discord-bot/cache:/app/cache discord-db: container_name: discord-db image: postgres:17 @@ -25,7 +27,7 @@ services: networks: - discord-bot-internal volumes: - - postgres_data:/var/lib/postgresql/data + - ./discord-bot/db:/var/lib/postgresql/data environment: POSTGRES_PASSWORD: "${POSTGRES_PASSWORD}" POSTGRES_USER: "${POSTGRES_USER}"