generated from skyface753/node-react-flutter-template
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose-test.yml
58 lines (53 loc) · 961 Bytes
/
docker-compose-test.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
services:
db:
image: mariadb
restart: always
environment:
MYSQL_ROOT_PASSWORD: example
MYSQL_DATABASE: skyrealdb
MYSQL_USER: user
MYSQL_PASSWORD: password
ports:
- '3306:3306'
volumes:
- ./data/db:/var/lib/mysql
phpmyadmin:
image: phpmyadmin
environment:
PMA_HOST: db
ports:
- 8084:80
restart: always
redis:
image: bitnami/redis:latest
ports:
- 6379:6379
environment:
- ALLOW_EMPTY_PASSWORD=yes
master:
build:
context: ./master-python
dockerfile: Dockerfile
ports:
- 5010:80
depends_on:
- redis
- db
backend:
build:
context: ./server-nodejs
dockerfile: Dockerfile
expose:
- 5000
depends_on:
- redis
- db
- master
loadproxy:
build:
context: ./nginx
dockerfile: Dockerfile
ports:
- 5000:80
depends_on:
- backend