-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
57 lines (52 loc) · 1019 Bytes
/
docker-compose.yml
File metadata and controls
57 lines (52 loc) · 1019 Bytes
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
version: "3.8"
services:
db:
image: mysql
container_name: db_docker_sf
restart: always
volumes:
- db-data:/var/lib/mysql
environment:
MYSQL_ALLOW_EMPTY_PASSWORD: 'yes'
ports:
- "3306:3306"
networks:
- dev
phpmyadmin:
image: phpmyadmin
container_name: phpmyadmin_docker_sf
restart: always
depends_on:
- db
ports:
- "8080:80"
environment:
PMA_HOST: db
networks:
- dev
mailhog:
image: mailhog/mailhog:latest
container_name: mailhog_docker_sf
restart: always
ports:
- "1025:1025" # smtp server
- "8025:8025" # web ui
networks:
- dev
www:
build: docker # on build le dockerfile dans php/
container_name: www_docker_sf
user: "1000:1000"
# user: ${CURRENT_UID}
ports:
- "8741:80"
volumes:
- ./docker/vhosts:/etc/apache2/sites-enabled
- ./:/var/www
restart: always
networks:
- dev
networks:
dev:
volumes:
db-data: