-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathdocker-compose.yml
47 lines (46 loc) · 1.13 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
services:
mariadb:
image: mariadb@sha256:a9547599cd87d7242435aea6fda22a9d83e2c06d16c658ef70d2868b3d3f6a80
environment:
MYSQL_ROOT_PASSWORD: password
MYSQL_DATABASE: wordpress
volumes:
- 'mysql:/var/lib/mysql'
networks:
- tfpwa
wordpress:
build:
context: .docker/wordpress
dockerfile: Dockerfile
args:
VERSION: ${WP_VERSION:-php8.0}
depends_on:
- mariadb
ports:
- 8443:443
environment:
WORDPRESS_DB_USER: root
WORDPRESS_DB_PASSWORD: password
WORDPRESS_DB_NAME: wordpress
WORDPRESS_DB_HOST: mariadb
volumes: &ref_0
- wordpress:/var/www/html
- .:/var/www/html/wp-content/plugins/two-factor-provider-webauthn
networks:
- tfpwa
cli:
image: wordpress:cli-php8.0@sha256:6d84aa5960f99b3993cc8e4f389148ffc6519fd146d5862d20a494c32e608f11
volumes: *ref_0
user: '33:33'
environment:
WORDPRESS_DB_USER: root
WORDPRESS_DB_PASSWORD: password
WORDPRESS_DB_NAME: wordpress
WORDPRESS_DB_HOST: mariadb
networks:
- tfpwa
networks:
tfpwa:
volumes:
mysql:
wordpress: