-
Notifications
You must be signed in to change notification settings - Fork 0
/
compose.yaml
70 lines (64 loc) · 1.35 KB
/
compose.yaml
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
67
68
69
70
version: '3.5'
services:
sscan-nest:
build:
context: nest
container_name: sscan-nest
restart: always
networks:
- nwk
ports:
- '${HOST}:${NEST_PORT}:${NEST_PORT}'
volumes:
- ./nest/scripts:/app/scripts
- /var/run/docker.sock:/var/run/docker.sock
- nest-temp:/tmp
env_file:
- .env
sscan-ipfs:
image: ipfs/go-ipfs:latest
container_name: sscan-ipfs
restart: always
environment:
- IPFS_PROFILE=server
- IPFS_PATH=/ipfsdata
networks:
- nwk
ports:
- "${HOST}:${IPFS_PORT}:${IPFS_PORT}"
- "${SWARM_PORT}:${SWARM_PORT}"
- "${HOST}:${GATE_PORT}:${GATE_PORT}"
volumes:
- ./docker-data/ipfs:/ipfsdata
sscan-nginx:
image: nginx:latest
container_name: sscan-nginx
restart: always
ports:
- '${HOST}:${NGINX_PORT}:${NGINX_PORT}'
networks:
- nwk
volumes:
- ./nginx/:/etc/nginx/templates/
env_file:
- .env
contract-builder:
image: nearprotocol/contract-builder:latest-${ARCH}
container_name: contract-builder
restart: always
networks:
- nwk
volumes_from:
- sscan-nest
cap_add:
- SYS_PTRACE
security_opt:
- seccomp=unconfined
stdin_open: true
tty: true
volumes:
nest-temp:
driver: local
networks:
nwk:
driver: bridge