-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose-development.yml
More file actions
38 lines (38 loc) · 1014 Bytes
/
Copy pathcompose-development.yml
File metadata and controls
38 lines (38 loc) · 1014 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
version: '3.7'
services:
# Due to authentication type, mysql cannot be the latest
db:
image: mysql:5
restart: always
container_name: wordpress_database
environment:
MYSQL_DATABASE: wp_database
MYSQL_USER: wordpress
MYSQL_PASSWORD: augedigital
MYSQL_ROOT_PASSWORD: augetecnologia
networks:
- wp-back
volumes:
- wp-data:/var/lib/mysql
wp:
depends_on:
- db
image: wordpress:latest
container_name: wordpress
restart: always
ports:
- 80:80
environment:
WORDPRESS_DB_HOST: db:3306
WORDPRESS_DB_USER: wordpress
WORDPRESS_DB_PASSWORD: augedigital
WORDPRESS_DB_NAME: wp_database
WORDPRESS_DEBUG: 1
volumes:
- '.:/var/www/html/wp-content/themes/cvupdate'
networks:
- wp-back
networks:
wp-back:
volumes:
wp-data: