forked from ResidenciaTICBrisa/T2G8-Plugin-Wordpress
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
executable file
·49 lines (46 loc) · 941 Bytes
/
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
version: '3.1'
services:
wordpress:
depends_on:
- db
image: wordpress:php8.3
restart: always
environment:
WORDPRESS_DB_HOST: db:3306
WORDPRESS_DB_USER: admin
WORDPRESS_DB_PASSWORD: admin
WORDPRESS_DB_NAME: wordpress
ports:
- 8082:80
networks:
- myNetwork
volumes:
- ./lgbtq_connect:/var/www/html/wp-content/plugins/plugin-prototipo
db:
image: mysql:8.3.0
restart: always
volumes:
- ./database:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: admin
MYSQL_DATABASE: wordpress
MYSQL_USER: admin
MYSQL_PASSWORD: admin
networks:
- myNetwork
phpmyadmin:
depends_on:
- db
image: phpmyadmin
restart: always
ports:
- 8083:80
environment:
PMA_HOST: db
MYSQL_ROOT_PASSWORD: admin
networks:
- myNetwork
networks:
myNetwork:
volumes:
database: