appstore-1panel/apps/php7/7.3.33/docker-compose.yml

27 lines
784 B
YAML
Raw Normal View History

2023-07-13 15:34:02 +08:00
version: '3'
2023-04-09 10:55:06 +08:00
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
2023-11-06 16:46:59 +08:00
- ./extensions:/php/extensions
2023-11-30 17:52:26 +08:00
- ./supervisor/supervisord.conf:/etc/supervisord.conf
- ./supervisor/supervisor.d:/etc/supervisor.d
- ./supervisor/log/supervisord.log:/var/log/supervisord.log
- ./supervisor/run.sh:/run.sh
command: sh /run.sh
2023-04-09 10:55:06 +08:00
ports:
- 127.0.0.1:${PANEL_APP_PORT_HTTP}:9000
2023-04-10 18:35:19 +08:00
labels:
createdBy: "Apps"
2023-04-09 10:55:06 +08:00
networks:
1panel-network:
external: true