2023-02-06 15:53:30 +08:00
|
|
|
services:
|
2023-02-07 15:21:24 +08:00
|
|
|
wordpress:
|
2024-04-11 11:18:24 +08:00
|
|
|
image: wordpress:6.5.2
|
2023-02-06 15:53:30 +08:00
|
|
|
container_name: ${CONTAINER_NAME}
|
|
|
|
ports:
|
|
|
|
- ${PANEL_APP_PORT_HTTP}:80
|
|
|
|
restart: always
|
|
|
|
networks:
|
2023-02-13 15:30:25 +08:00
|
|
|
- 1panel-network
|
2023-02-06 15:53:30 +08:00
|
|
|
volumes:
|
|
|
|
- ./data:/var/www/html
|
2023-04-13 14:54:34 +08:00
|
|
|
- ./conf/uploads.ini:/usr/local/etc/php/conf.d/uploads.ini
|
2023-02-06 15:53:30 +08:00
|
|
|
environment:
|
2023-08-01 16:05:45 +08:00
|
|
|
WORDPRESS_DB_HOST: ${PANEL_DB_HOST}:${PANEL_DB_PORT}
|
2023-02-06 15:53:30 +08:00
|
|
|
WORDPRESS_DB_NAME: ${PANEL_DB_NAME}
|
|
|
|
WORDPRESS_DB_USER: ${PANEL_DB_USER}
|
|
|
|
WORDPRESS_DB_PASSWORD: ${PANEL_DB_USER_PASSWORD}
|
2023-03-24 15:47:19 +08:00
|
|
|
WORDPRESS_DEBUG: 0
|
2023-02-06 15:53:30 +08:00
|
|
|
labels:
|
|
|
|
createdBy: "Apps"
|
|
|
|
networks:
|
2023-02-13 15:30:25 +08:00
|
|
|
1panel-network:
|
2023-02-06 15:53:30 +08:00
|
|
|
external: true
|