-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
44 lines (41 loc) · 1.08 KB
/
docker-compose.yml
File metadata and controls
44 lines (41 loc) · 1.08 KB
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
version: "3.9"
services:
db:
image: mysql:5.7
platform: linux/amd64
volumes:
- ./db_dump:/docker-entrypoint-initdb.d
- db_data:/var/lib/mysql
restart: always
environment:
MYSQL_ROOT_PASSWORD: ess@z1Zd)jpjbnPc
MYSQL_DATABASE: wordpress
MYSQL_USER: wordpress
MYSQL_PASSWORD: FLAGG{PRO_HACKER}
wordpress:
depends_on:
- db
image: wordpress:latest
volumes:
- ./wp_plugins/simple-file-list:/var/www/html/wp-content/plugins/simple-file-list
- ./files:/var/www/html/files
- .htaccess:/var/www/html/.htaccess
- wordpress_data:/var/www/html
ports:
- "1337:80"
restart: always
environment:
WORDPRESS_DB_HOST: db
WORDPRESS_DB_USER: wordpress
WORDPRESS_DB_PASSWORD: FLAGG{PRO_HACKER}
WORDPRESS_DB_NAME: wordpress
WP_HOME: http://localhost:1337
WP_SITEURL: http://localhost:1337
python:
image: python:3.9.18-slim
entrypoint: python -m http.server 80
volumes:
- ./files/index.html:/index.html
volumes:
db_data: {}
wordpress_data: {}