-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
75 lines (70 loc) · 1.42 KB
/
docker-compose.yml
File metadata and controls
75 lines (70 loc) · 1.42 KB
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
71
72
73
74
75
version: '3.1'
services:
db:
platform: linux/x86_64
restart: always
image: mysql:5.7
volumes:
- db_data:/var/lib/mysql
environment:
MYSQL_USER: dwinfotec
MYSQL_PASSWORD: dw123456
MYSQL_DATABASE: dwinfotec
MYSQL_ROOT_PASSWORD: root123
ports:
- '3306:3306'
phpmyadmin:
restart: always
depends_on:
- db
links:
- db
image: phpmyadmin
ports:
- 8080:80
environment:
- PMA_ARBITRARY=1
- PMA_USER=dwinfotec
- PMA_PASSWORD=dw123456
- PMA_HOST=db
- PMA_PORT=3306
- UPLOAD_LIMIT=400M
node:
restart: always
environment:
- NODE_ENV=production
- PORT=9000
ports:
- 9000:9000
volumes:
- ./storage:/storage
build:
context: .
dockerfile: Storage.Dockerfile
node2:
restart: always
environment:
# - NODE_ENV=production
- PORT=4000
#DB
- DB_HOST=db
- DB_USER=dwinfotec
- DB_PASS=dw123456
- DB_NAME=dwinfotec
#JWT
- TOKEN_SECRET=DcPa?vX2j7XGCLxg
- TOKEN_EXPIRES_IN=10d
#PATH FILE IMAGE
- STORAGE_URL=http://3.16.206.80:9000/storage
- STORAGE_PATH=storage
- STORAGE_PATH_SERVICE_ORDERS=service_orders
ports:
- 4000:4000
volumes:
- ./storage:/storage
build:
context: .
dockerfile: AppNode.Dockerfile
volumes:
db_data: {}
wordpress_data: {}