-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
54 lines (48 loc) · 966 Bytes
/
docker-compose.yml
File metadata and controls
54 lines (48 loc) · 966 Bytes
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
version: '3.8'
services:
app:
build:
context: .
dockerfile: Dockerfile
ports:
- "8000:80"
volumes:
- .:/var/www
- /var/www/vendor
environment:
- APP_ENV=local
- APP_KEY=base64:your_app_key
- DB_CONNECTION=mysql
- DB_HOST=db
- DB_DATABASE=aiplatform
- DB_USERNAME=root
- DB_PASSWORD=root
depends_on:
- db
- redis
db:
image: mysql:8.0
ports:
- "3306:3306"
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: aiplatform
volumes:
- db_data:/var/lib/mysql
redis:
image: redis:7.0
ports:
- "6379:6379"
blockchain:
image: ethereum/client-go:latest
ports:
- "8545:8545"
- "8546:8546"
command: --http --http.addr 0.0.0.0 --http.api eth,net,web3,personal,admin,debug
ipfs:
image: ipfs/go-ipfs:latest
ports:
- "5001:5001"
- "8080:8080"
volumes:
db_data: