Update docker-compose.yml

This commit is contained in:
7go4bs9h 2023-08-27 00:57:17 -04:00 committed by GitHub
parent 81aedfa3a0
commit e4b56b6996
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,28 +1,28 @@
version: "3.3" version: '3.3'
services: services:
rdtclient: rdtclient:
# image: rogerfar/rdtclient image: rogerfar/rdtclient
container_name: rdtclient container_name: rdtclient
build: # build:
context: . # context: .
dockerfile: Dockerfile # dockerfile: Dockerfile
environment: environment:
- PUID=1001 - PUID=1001
- PGID=1001 - PGID=1001
volumes: volumes:
- /mnt/internal_1tb/Downloading/Downloads/rdtclient:/mnt/internal_1tb/Downloading/Downloads/rdtclient:ro - ${PWD}/data/downloads:/data/downloads
- /docker_mnt/rdtclient/data/db:/data/db - ${PWD}/data/db:/data/db
restart: always restart: always
logging: logging:
driver: json-file driver: json-file
options: options:
max-size: 10m max-size: 10m
ports: ports:
- "6500:6500" - '6500:6500'
healthcheck: healthcheck:
test: curl --fail http://localhost:6500 || exit 1 test: curl --fail http://localhost:6500 || exit 1
interval: 30s interval: 30s
retries: 3 retries: 3
start_period: 30s start_period: 30s
timeout: 30s timeout: 30s