-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
41 lines (41 loc) · 958 Bytes
/
docker-compose.yml
File metadata and controls
41 lines (41 loc) · 958 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
40
41
services:
app:
depends_on:
- db
build:
context: ./docker
dockerfile: Dockerfile
sysctls:
- net.ipv4.ip_unprivileged_port_start=0
user: '1000:1000'
volumes:
- ./:/var/www/html/wp-content/plugins/icepay-for-woocommerce
- ./wordpress:/var/www/html
ports:
- "80:80"
environment:
WORDPRESS_DB_HOST: db
WORDPRESS_DB_USER: wordpress
WORDPRESS_DB_PASSWORD: wordpress
WORDPRESS_DB_NAME: wordpress
WORDPRESS_DEBUG: 1
WORDPRESS_CONFIG_EXTRA: |
define('WP_DEBUG_LOG', true );
define('WP_DEBUG_DISPLAY', true);
db:
image: mysql:8.4.6
environment:
MYSQL_ROOT_PASSWORD: somewordpress
MYSQL_DATABASE: wordpress
MYSQL_USER: wordpress
MYSQL_PASSWORD: wordpress
mailcatcher:
image: sj26/mailcatcher
ports:
- "1080:1080"
adminer:
image: adminer
ports:
- "8080:8080"
links:
- db