forked from icarda-git/M-QAP
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
49 lines (47 loc) · 1.05 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
version: "3.1"
services:
clarisa_wos_mysql:
container_name: clarisa_wos_mysql
image: mysql
restart: always
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: mqap
MYSQL_PASSWORD: root
volumes:
- ./mysqlData:/var/lib/mysql
ports:
- "127.0.0.1:3366:3306"
clarisa_wos_phpmyadmin:
container_name: clarisa_wos_phpmyadmin
depends_on:
- clarisa_wos_mysql
image: phpmyadmin/phpmyadmin:latest
links:
- clarisa_wos_mysql
ports:
- 8182:80
environment:
PMA_HOST: clarisa_wos_mysql
clarisa_wos_api:
container_name: clarisa_wos_api
depends_on:
- mysql
build:
context: ./back-end
dockerfile: Dockerfile
restart: always
volumes:
- ./back-end/media:/back-end/media
- ./back-end/uploads:/back-end/uploads
clarisa_wos_front_end:
container_name: clarisa_wos_front_end
build: front-end
restart: always
links:
- clarisa_wos_api
depends_on:
- mysql
- clarisa_wos_api
ports:
- 9981:80