-
Notifications
You must be signed in to change notification settings - Fork 10
/
docker-compose.yml
51 lines (50 loc) · 972 Bytes
/
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
version: "3.7"
services:
backend:
container_name: backend
build:
context: .
dockerfile: Dockerfile
ports:
- "3000:3000"
environment:
- NODE_ENV=development
volumes:
- './logs:/app/logs'
stdin_open: true
tty: true
depends_on:
- redis
- ipfs-api
redis:
image: redis
command: redis-server --port 6379
container_name: redis
hostname: redis
labels:
- "name=redis"
- "mode=standalone"
ports:
- 6379:6379
ipfs-api:
image: ipfs/go-ipfs
container_name: ipfs-api
environment:
- IPFS_PROFILE=server
- IPFS_PATH=/ipfsdata
volumes:
- ./data/ipfs:/ipfsdata
ports:
- "4001:4001"
- "8080:8080"
- "8081:8081"
- "5001:5001"
nginx:
container_name: nginx
build:
context: ./nginx
dockerfile: Dockerfile
restart: always
ports:
- "80:80"
- "443:443"