-
Notifications
You must be signed in to change notification settings - Fork 6
/
example.docker-compose.yml
67 lines (61 loc) · 1.54 KB
/
example.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
version: '3'
services:
# pastenym-frontend:
# build:
# context: js-example
# restart: unless-stopped
# ports:
# - 8001:80
pastenym-backend:
build:
context: ./backend
restart: unless-stopped
env_file: env.docker
volumes:
- ./backend/data/:/data/
nym-client:
build:
context: ./nym-client
restart: unless-stopped
environment:
- LISTENING_ADDRESS=0.0.0.0
volumes:
- ./nym-client/nym-data/:/home/user/.nym/
depends_on:
- pastenym-backend
# ipfs:
# image: ipfs/kubo:latest
# restart: unless-stopped
# volumes:
# - ./backend/ipfs/data:/data/ipfs
# - ./backend/ipfs/ipfs_fuse:/ipfs
# - ./backend/ipfs/ipns_fuse:/ipns
# environment:
# - IPFS_PATH=/data/ipfs
# ports:
# # Swarm listens on all interfaces, so is remotely reachable.
# - 4001:4001/tcp
# - 4001:4001/udp
# # API port, which includes admin operations, so you probably don't want this remotely accessible.
# - 127.0.0.1:5001:5001
# # HTTP Gateway
# - 127.0.0.1:8080:8080
# bitcoin:
# image: ruimarinho/bitcoin-core
# command:
# -printtoconsole
# -server
# -prune=550
# -rpcbind=0.0.0.0
# -rpcallowip=0.0.0.0/0
# -rpcuser=user
# -rpcpassword=user
# volumes:
# healthcheck:
# test: bitcoin-cli -rpcuser=user -rpcpassword=user getblockchaininfo || exit 1
# interval: 30s
# timeout: 10s
# retries: 5
# - ./bitcoin-core:/home/bitcoin/.bitcoin
# ports:
# - 127.0.0.1:8332:8332