-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
39 lines (35 loc) · 797 Bytes
/
docker-compose.yaml
File metadata and controls
39 lines (35 loc) · 797 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
39
version: "3.3"
services:
wordpress:
depends_on:
- db
- memcached
image: docker.io/bitpoke/wordpress-runtime:bedrock
volumes:
- ./:/app
ports:
- "8080:8080"
restart: always
environment:
DB_HOST: db:3306
DB_USER: wordpress
DB_PASSWORD: not-so-secure
DB_NAME: wordpress
MEMCACHED_HOST: memcached:11211
WP_HOME: http://localhost:8080
WP_SITEURL: http://localhost:8080/wp
WP_ENV: development
db:
image: percona:5.7
volumes:
- db_data:/var/lib/mysql
restart: always
environment:
MYSQL_ROOT_PASSWORD: not-so-secure
MYSQL_DATABASE: wordpress
MYSQL_USER: wordpress
MYSQL_PASSWORD: not-so-secure
memcached:
image: memcached:1.5
volumes:
db_data: {}