-
Notifications
You must be signed in to change notification settings - Fork 7
/
lens.yml
38 lines (35 loc) · 878 Bytes
/
lens.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
# Production docker-compose setup for Lens.
#
# Usage:
# env LENS=latest BASE=/my/dir docker-compose -f lens.yml up
#
# Data:
# - Leave BASE unassigned to use the root directory.
# - Generally, component data goes in $BASE/data/$COMPONENT.
#
# Configuration:
# * lens:
# - configuration file should be in data directory
# - set LENS in env to use desired version
# * ipfs:
# - configuration files should be in data directory
#
version: '3'
services:
lens:
image: rtradetech/lens:${LENS}
network_mode: "host" # expose all
restart: on-failure
depends_on:
- "ipfs"
volumes:
- ${BASE}/data/lens:/data/lens
ipfs:
image: ipfs/go-ipfs:v0.4.17
command: daemon --migrate=true --enable-pubsub-experiment
ports:
- 4001:4001
- 5001:5001
- 8080:8080
volumes:
- ${BASE}/data/ipfs:/data/ipfs