+21
services/copyparty.yml
+21
services/copyparty.yml
···
1
+
services:
2
+
copyparty:
3
+
image: copyparty/dj:latest
4
+
user: "1000:1000"
5
+
container_name: copyparty
6
+
ports:
7
+
- 3923:3923
8
+
environment:
9
+
LD_PRELOAD: /usr/lib/libmimalloc-secure.so.2
10
+
PYTHONUNBUFFERED: 1
11
+
volumes:
12
+
- ./copyparty/conf:/cfg/config.conf:ro
13
+
- ./copyparty/db:/cfg/hists
14
+
- ./copyparty/media:/media
15
+
stop_grace_period: 15s
16
+
healthcheck:
17
+
test: ["CMD-SHELL", "wget --spider -q 127.0.0.1:3923/?reset=/._"]
18
+
interval: 1m
19
+
timeout: 2s
20
+
retries: 5
21
+
start_period: 15s
+22
services/knot.yml
+22
services/knot.yml
···
1
+
services:
2
+
knot:
3
+
image: tngl/knot:v1.10.0-alpha
4
+
container_name: knot
5
+
build:
6
+
context: .
7
+
args:
8
+
UID: 1000
9
+
GID: 1000
10
+
environment:
11
+
KNOT_SERVER_HOSTNAME: ${KNOT_SERVER_HOSTNAME}
12
+
KNOT_SERVER_OWNER: ${KNOT_SERVER_OWNER}
13
+
KNOT_SERVER_DB_PATH: /home/git/knot.db
14
+
KNOT_REPO_SCAN_PATH: /home/git/repositories
15
+
KNOT_SERVER_INTERNAL_LISTEN_ADDR: localhost:5444
16
+
volumes:
17
+
- ./knot/keys:/etc/ssh/keys
18
+
- ./knot/repositories:/home/git/repositories
19
+
ports:
20
+
- "5555:5555"
21
+
- "2222:22"
22
+
restart: always