-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
36 lines (35 loc) · 922 Bytes
/
docker-compose.yml
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
version: "3"
services:
web:
image: uconn/php74-official:latest
environment:
SITE_ENV: local
WORDPRESS_DB_HOST: mysql
WORDPRESS_DB_USER: wordpress
WORDPRESS_DB_PASSWORD: wordpress
WORDPRESS_DB_NAME: wordpress
ports:
- "80:80"
- "443:443"
volumes:
- ./www:/var/www/html
- ./.entrypoint/server-entrypoint:/entrypoint
- ./:/var/www/html/content/plugins/ucomm-wpgraphql-boilerplatge
depends_on:
- mysql
restart: always
mysql:
image: uconn/comm0db:latest
ports:
- "3306:3306"
restart: always
environment:
MYSQL_ROOT_PASSWORD: wordpress
MYSQL_USER: wordpress
MYSQL_PASSWORD: wordpress
MYSQL_DATABASE: wordpress
volumes:
# change the name to match the docker volume below
- ucomm-wpgraphql-boilerplatge-volume:/var/lib/mysql
volumes:
ucomm-wpgraphql-boilerplatge-volume: