mirror of
https://github.com/tgdrive/teldrive.git
synced 2025-01-07 07:40:24 +08:00
chore: Update Docker volumes in docker-compose files
This commit is contained in:
parent
293e545ae9
commit
5a668b8afd
2 changed files with 3 additions and 8 deletions
|
@ -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:
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue