-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
50 lines (46 loc) · 970 Bytes
/
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
version: "3.8"
services:
# Application Service
app:
container_name: provider_integration
build:
context: ./php
dockerfile: Dockerfile
volumes:
- ./src:/var/www/html
ports:
- "9000:80"
working_dir: /var/www/html
#Database Service
mysql_db:
container_name: mysql
image: mysql:8.0
volumes:
- ./mysql/data:/var/lib/mysql
ports:
- "3306:3306"
environment:
MYSQL_DATABASE: provider_integration
MYSQL_ROOT_PASSWORD: password
# phpMyAdmin Service
phpmyadmin:
container_name: phpmyadmin
image: phpmyadmin:5.2
ports:
- 9001:80
environment:
- PMA_ARBITRARY=1
depends_on:
- mysql_db
# Web Server Service
# nginx:
# image: nginx:alpine
# container_name: nginx
# ports:
# - "8080:80"
# volumes:
# - ./src:/var/www
# - ./nginx/conf.d/:/etc/nginx/conf.d/
# depends_on:
# - app
# - mysql_db