-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
93 lines (83 loc) · 1.73 KB
/
docker-compose.yaml
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
version: '3.8'
services:
nginx:
image: nginx:alpine
container_name: webserver
ports:
- 8080:80
volumes:
- ./app:/var/www ## espace de stockage
- ./docker/logs/nginx:/var/logs/nginx ## espace de stockage des logs nginx
- ./docker/nginx/symfony.conf:/etc/nginx/conf.d/default.conf # Configuration du nginx
depends_on:
- php
- mysql
- maildev
networks:
- lan
mysql:
build:
context: docker/mysql
dockerfile: MySQL-5.6.Dockerfile
volumes:
- mysql:/var/lib/mysql
env_file:
- environment.yml
networks:
- lan
php:
image: leknoppix/php:php-8.0.3
user: 1000:985
volumes:
- ./app:/var/www ## espace de stockage
- ./docker/php/php.ini:/usr/local/etc/php/conf.d/php.ini
networks:
- lan
depends_on:
- mysql
- maildev
phpmyadmin:
image: phpmyadmin
container_name: phpmyadmin
ports:
- "9092:80"
depends_on:
- mysql
environment:
PMA_HOST: mysql
networks:
- lan
maildev:
image: djfarrelly/maildev
container_name: maildev
command: bin/maildev --web 80 --smtp 25 --hide-extensions STARTTLS
ports:
- "1026:25"
- "1081:80"
networks:
- lan
ftp:
build:
context: docker/vsftpd/
ports:
- 21:21
volumes:
- ./app:/home/dev/site/
env_file:
- environment.yml
nodejs:
build:
context: ./docker/nodejs
dockerfile: Dockerfile
container_name: nodejs
volumes:
- ./app:/var/www
codesniffer:
image: jakzal/phpqa:php8.0-alpine
volumes:
- ./app:/project ## espace de stockage
- ./docker/logs/tmp-phpqa:/tmp
volumes:
mysql:
networks:
lan: