-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
50 lines (45 loc) · 1.02 KB
/
docker-compose.yaml
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
49
50
version: "3.3"
services:
ngrok:
image: shkoliar/ngrok:latest
ports:
- "4551:4551"
restart: always
depends_on:
- wp
environment:
- DOMAIN=wp
- PORT=80
- AUTH_TOKEN=1cK26vZLaHnHslLI0GtB34gFWv3_3Tyw4F2V6hZXjDhdy1e97
- SUBDOMAIN=b-street
- DEBUG=true
- NGROK_LOOK_DOMAIN=host.docker.internal
- NGROK_BINDTLS=false
- HOST_HEADER=b-street.ngrok.io
db:
image: mariadb:10.5.8
volumes:
- ./volumes/db:/var/lib/mysql
restart: always
environment:
MYSQL_ROOT_PASSWORD: somewordpress
MYSQL_DATABASE: wordpress
MYSQL_USER: wordpress
MYSQL_PASSWORD: wordpress
wp:
depends_on:
- db
image: arm64v8/wordpress
ports:
- "8000:80"
volumes:
- ./volumes/wp:/var/www/html
restart: always
environment:
WORDPRESS_DB_HOST: db
WORDPRESS_DB_USER: wordpress
WORDPRESS_DB_PASSWORD: wordpress
WORDPRESS_DB_NAME: wordpress
#volumes:
# db_data: {}
# wordpress_data: {}