-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
37 lines (36 loc) · 1.08 KB
/
docker-compose.yml
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
36
37
version: "3"
services:
registry:
build: .
environment:
- DB_GIT_REMOTE=${DB_GIT_REMOTE:[email protected]:Blockstream/asset_registry_db.git}
- ESPLORA_URL=${ESPLORA_URL:-https://blockstream.info/liquid/api}
expose: [ "8000" ]
volumes:
- db:/app/db
- www:/app/www
- ${GPG_KEY_PATH:-./keys/signing-privkey.asc}:/app/signing-privkey.asc
- ${SSH_KEY_PATH:-./keys/id_ed25519}:/root/.ssh/id_${SSH_KEY_CIPHER:-ed25519}
nginx:
image: nginx:1.21
environment:
- NGINX_HOST=assets.blockstream.info
expose: [ "80" ]
ports: [ "80:80" ]
volumes:
- www:/app/www
- db:/app/db
- ./contrib/nginx.conf:/etc/nginx/templates/default.conf.template
depends_on: [ registry ]
links: [ registry ]
onion:
build:
dockerfile: contrib/onion.Dockerfile
context: .
depends_on: [ nginx ]
links: [ nginx ]
volumes:
- ${ONION_PATH:-./keys/onion}:/var/lib/tor/onion_service
volumes:
www:
db: