Update docker-compose.yml
This commit is contained in:
parent
81aedfa3a0
commit
e4b56b6996
1 changed files with 26 additions and 26 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue