Skip to content

Commit 4ee4aac

Browse files
committed
docker-compose: mount files read only
1 parent 5e4f2ff commit 4ee4aac

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

docker-compose.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ services:
1212
volumes:
1313
- "./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)