mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-16 10:11:58 +08:00
21 lines
533 B
YAML
21 lines
533 B
YAML
|
services:
|
||
|
php:
|
||
|
image: ${IMAGE_NAME}
|
||
|
container_name: ${CONTAINER_NAME}
|
||
|
restart: always
|
||
|
networks:
|
||
|
- 1panel-network
|
||
|
volumes:
|
||
|
- ${PANEL_WEBSITE_DIR}:/www/
|
||
|
- ./conf/php.ini:/usr/local/etc/php/php.ini
|
||
|
- ./conf/php-fpm.conf:/usr/local/etc/php-fpm.d/www.conf
|
||
|
- ./log:/var/log/php
|
||
|
- ./composer:/tmp/composer
|
||
|
- ./extensions:/php/extensions
|
||
|
ports:
|
||
|
- 127.0.0.1:${PANEL_APP_PORT_HTTP}:9000
|
||
|
labels:
|
||
|
createdBy: "Apps"
|
||
|
networks:
|
||
|
1panel-network:
|
||
|
external: true
|