chore: Update Docker volumes in docker-compose files

This commit is contained in:
divyam234 2024-02-13 02:20:10 +05:30
parent 293e545ae9
commit 5a668b8afd
2 changed files with 3 additions and 8 deletions

View file

@ -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:

View file

@ -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