File tree 2 files changed +6
-40
lines changed
2 files changed +6
-40
lines changed Original file line number Diff line number Diff line change 1
1
version : ' 3'
2
2
3
3
services :
4
- db_mysql :
4
+ mariadb :
5
5
networks :
6
6
pecev1 :
7
7
8
- dev_pece :
8
+ php :
9
+ networks :
10
+ pecev1 :
11
+
12
+ nginx :
9
13
networks :
10
14
pecev1 :
11
15
labels :
Original file line number Diff line number Diff line change 1
1
version : ' 3'
2
2
3
3
services :
4
- db_mysql :
5
- image : mysql:5.7.39
6
- container_name : pece-db-mysql
7
- restart : always
8
- environment :
9
- - MYSQL_USER=pece
10
- - MYSQL_DATABASE=pece
11
- - MYSQL_PASSWORD=ZwTuVZzQO90qwYzA
12
- - MYSQL_ROOT_PASSWORD=Sk82jxYqqpx02jxT
13
- volumes :
14
- - ./docker/pecev1_db:/var/lib/mysql
15
-
16
- dev_pece :
17
- image : revagomes/pece:php7-alpha1
18
- container_name : pece-dev-nginx
19
- build :
20
- context : ./
21
- dockerfile : ./docker/DockerfileDevelopment
22
- cap_add :
23
- - ALL
24
- restart : always
25
- working_dir : /pece/drupal
26
- environment :
27
- - DB_PORT=3306
28
- - DB_HOST=pece-db
29
- - DB_NAME=pece
30
- - DB_DRIVER=mysql
31
- - DB_USERNAME=pece
32
- - DB_PASSWORD=ZwTuVZzQO90qwYzA
33
- volumes :
34
- - $PWD:/pece/drupal
35
- - $HOME/.ssh:/pece/.ssh
36
- - $HOME/.gitconfig:/pece/.gitconfig
37
- links :
38
- - db_mysql:pece-db
39
-
40
4
mariadb :
41
5
image : wodby/mariadb:$MARIADB_TAG
42
6
container_name : " ${PROJECT_NAME}_mariadb"
@@ -110,5 +74,3 @@ services:
110
74
- ./:/var/www/html
111
75
command : sh -c 'npm install && npm run build'
112
76
113
- volumes :
114
- db_mysql :
You can’t perform that action at this time.
0 commit comments