Refactored out hardcoded logpath and DB connection string and made them configurable through appsettings.json. Add persistent store path in docker-compose.
15 lines
380 B
YAML
15 lines
380 B
YAML
version: '3.3'
|
|
services:
|
|
rdtclient:
|
|
image: rogerfar/rdtclient
|
|
volumes:
|
|
- 'C:/Downloads/:/data/downloads'
|
|
- 'C:/Docker/rdtclient/:/data/db'
|
|
container_name: rdtclient
|
|
restart: always
|
|
logging:
|
|
driver: json-file
|
|
options:
|
|
max-size: 10m
|
|
ports:
|
|
- '6500:6500'
|