-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
35 lines (34 loc) · 1.14 KB
/
docker-compose.yml
File metadata and controls
35 lines (34 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
services:
monero-torrent-remote:
image: ghcr.io/${GITHUB_REPOSITORY_OWNER}/monero-torrent-build-env:latest
build:
context: .
environment:
CDN_URL: "https://downloads.getmonero.org"
HASHES_URL: "https://www.getmonero.org/downloads/hashes.txt"
BF_KEY_URL: "https://raw.githubusercontent.com/monero-project/monero/master/utils/gpg_keys/binaryfate.asc"
OUTPUT_DIR: "/app/downloads"
TORRENT_DIR: "/app/watch"
volumes:
- "./downloads:/app/downloads"
- "./watch:/app/watch"
- "./create_monero_torrent.sh:/app/create_monero_torrent.sh:ro"
restart: "no"
profiles: ["remote"]
monero-torrent-local:
image: ghcr.io/${GITHUB_REPOSITORY_OWNER}/monero-torrent-build-env:latest
build:
context: .
environment:
CDN_URL: "/cdn"
HASHES_URL: "hashes.txt"
BF_KEY_URL: "binaryfate.asc"
OUTPUT_DIR: "/app/downloads"
TORRENT_DIR: "/app/watch"
volumes:
- "./downloads:/app/downloads"
- "./watch:/app/watch"
- "./cdn:/cdn:ro"
- "./create_monero_torrent.sh:/app/create_monero_torrent.sh:ro"
restart: "no"
profiles: ["local"]