From 5a668b8afd841717580121c81bf9a64c94c03fab Mon Sep 17 00:00:00 2001 From: divyam234 <47589864+divyam234@users.noreply.github.com> Date: Tue, 13 Feb 2024 02:20:10 +0530 Subject: [PATCH] chore: Update Docker volumes in docker-compose files --- docker-compose.postgres.yml | 8 ++------ docker-compose.yml | 3 +-- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/docker-compose.postgres.yml b/docker-compose.postgres.yml index d6b1e5f..4ea1c03 100644 --- a/docker-compose.postgres.yml +++ b/docker-compose.postgres.yml @@ -7,7 +7,7 @@ services: container_name: teldrive volumes: - ./teldrive.db:/teldrive.db:rw - - ./logs:/logs:rw + - ./config.toml:/config.toml env_file: teldrive.env ports: - 8080:8080 @@ -22,12 +22,8 @@ services: - POSTGRES_USER=teldrive - POSTGRES_PASSWORD=secret volumes: - - teldrive_db:/var/lib/postgresql/data + - ./postgres_data:/var/lib/postgresql/data healthcheck: test: ["CMD", "pg_isready", "-U", "teldrive"] interval: 10s start_period: 30s - -volumes: - teldrive_db: - diff --git a/docker-compose.yml b/docker-compose.yml index 4f60898..f2f7ac9 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,7 +7,6 @@ services: container_name: teldrive volumes: - ./teldrive.db:/teldrive.db:rw - - ./logs:/logs:rw - env_file: teldrive.env + - ./config.toml:/config.toml ports: - 8080:8080