forked from vilenbejenaru/war-support-un-acoperis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
70 lines (64 loc) · 1.37 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
version: '3.8'
services:
database:
build:
context: .docker/mysql
dockerfile: Dockerfile
container_name: helpforhealth_db
command: --default-authentication-plugin=mysql_native_password
environment:
MYSQL_ROOT_PASSWORD: developer
volumes:
- MySQLStorageHelpForHealth:/var/lib/mysql
networks:
helpforhealth.local:
ipv4_address: 192.168.132.2
aliases:
- db.helpforhealth.local
expose:
- 3306
ports:
- 33066:3306
webserver:
container_name: helpforhealth_web
build:
dockerfile: .docker/webserver/Dockerfile
context: ./
volumes:
- ./:/app
links:
- database
networks:
helpforhealth.local:
ipv4_address: 192.168.132.3
aliases:
- helpforhealth.local
expose:
- 80
ports:
- 80:80
phpmyadmin:
image: phpmyadmin/phpmyadmin:latest
container_name: helpforhealth_phpmyadmin
environment:
PMA_USER: root
PMA_PASSWORD: developer
networks:
helpforhealth.local:
ipv4_address: 192.168.132.4
aliases:
- pma.helpforhealth.local
links:
- database:db
expose:
- 80
ports:
- 8080:80
networks:
helpforhealth.local:
driver: bridge
ipam:
config:
- subnet: 192.168.132.0/24
volumes:
MySQLStorageHelpForHealth: