Skip to content

Commit 86e9f4d

Browse files
committed
docker-compose: mount files read only
1 parent 5e4f2ff commit 86e9f4d

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

docker-compose.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ services:
1010
OUTPUT_DIR: "/app/downloads"
1111
TORRENT_DIR: "/app/watch"
1212
volumes:
13-
- "./downloads:/app/downloads"
13+
- "./downloads:/app/downloads:"
1414
- "./watch:/app/watch"
15-
- "./create_monero_torrent.sh:/app/create_monero_torrent.sh"
15+
- "./create_monero_torrent.sh:/app/create_monero_torrent.sh:ro"
1616
restart: "no"
1717
profiles: ["remote"]
1818

@@ -29,7 +29,7 @@ services:
2929
volumes:
3030
- "./downloads:/app/downloads"
3131
- "./watch:/app/watch"
32-
- "./cdn:/cdn"
33-
- "./create_monero_torrent.sh:/app/create_monero_torrent.sh"
32+
- "./cdn:/cdn:ro"
33+
- "./create_monero_torrent.sh:/app/create_monero_torrent.sh:ro"
3434
restart: "no"
3535
profiles: ["local"]

0 commit comments

Comments
 (0)