-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
48 lines (48 loc) · 1.29 KB
/
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
37
38
39
40
41
42
43
44
45
46
47
48
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.0.32
environment:
MYSQL_ROOT_PASSWORD: somewordpress
MYSQL_DATABASE: wordpress
MYSQL_USER: wordpress
MYSQL_PASSWORD: wordpress
mailcatcher:
image: sj26/mailcatcher
ports:
- "1080:1080"
expose:
depends_on:
- app
build: https://github.com/beyondcode/expose.git
entrypoint: [ "/bin/sh", "-c" , "/src/expose token ${EXPOSE_TOKEN} && sed -i -E \"s/'dns'\\s?=>\\s?'.*'/'dns' => true/g\" /root/.expose/config.php && /src/expose share app --server-host=${EXPOSE_HOST} --subdomain=${APP_SUBDOMAIN}" ]
ports:
- "4040:4040"
adminer:
image: adminer
ports:
- "8080:8080"
links:
- db