-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
42 lines (41 loc) · 920 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
version: "3"
services:
www:
build: ./docker/apache
expose:
- 80
ports:
- "8080:8080"
- "1337:1337"
volumes:
- ./www:/var/www/html/
- ./apache/php:/var/www/php.d
- ./apache/:/docker-entrypoint-init.d
restart: always
env_file:
- .env
links:
- db
networks:
- default
- reverse-proxy
db:
build: ./docker/mysql
ports:
- "3308:3306"
environment:
- MYSQL_ROOT_PASSWORD=root
volumes:
- ./dump:/docker-entrypoint-initdb.d
networks:
- default
phpmyadmin:
image: phpmyadmin/phpmyadmin
links:
- db:db
ports:
- "8889:80"
networks:
reverse-proxy:
external:
name: reverse-proxy