-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
73 lines (66 loc) · 1.32 KB
/
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
version: '3.3'
services:
app:
container_name: idealize_app
build:
context: .
dockerfile: Dockerfile
networks:
- server-network
depends_on:
- db_mysql
volumes:
- ./uploads:/app/uploads
environment:
DB_HOST: db_mysql
DB_USER: root
DB_PASSWORD: ""
DB_NAME: test
DB_PORT: 3306
db:
image: mongo
container_name: db_mongo
volumes:
- mongodata:/data/db
networks:
- server-network
db_mysql:
image: mysql:8.0
container_name: db_mysql
environment:
MYSQL_ROOT_PASSWORD: rootpassword
MYSQL_DATABASE: test
MYSQL_USER: root
MYSQL_PASSWORD: ""
ports:
- "3306:3306"
volumes:
- mysql_data:/var/lib/mysql
networks:
- server-network
flutter-web-app:
container_name: flutter-web-app
build:
context: ../Idealize-Admin-Panel-Build
dockerfile: Dockerfile.flutter
networks:
- server-network
nginx:
image: nginx:alpine
container_name: nginx
volumes:
- ./nginx.conf:/etc/nginx/conf.d/default.conf
- /etc/letsencrypt:/etc/letsencrypt:ro
ports:
- "80:80"
- "443:443"
depends_on:
- app
- flutter-web-app
networks:
- server-network
volumes:
mongodata:
mysql_data:
networks:
server-network: